summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-07 14:12:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-07 14:12:19 +0300
commit94fdc870da3cfba82ac9b05b0e77489782244a76 (patch)
tree1cdbd7d7c46b1610e723724c610c3f66093dc6bf /src/gui
parent62152b1ea96cf5e35b8d542ca451e682fdd052dc (diff)
downloadmanaverse-94fdc870da3cfba82ac9b05b0e77489782244a76.tar.gz
manaverse-94fdc870da3cfba82ac9b05b0e77489782244a76.tar.bz2
manaverse-94fdc870da3cfba82ac9b05b0e77489782244a76.tar.xz
manaverse-94fdc870da3cfba82ac9b05b0e77489782244a76.zip
fix again tabs size.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chatwindow.cpp2
-rw-r--r--src/gui/widgets/tabbedarea.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 1cb0a225d..078164518 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -367,6 +367,8 @@ void ChatWindow::adjustTabSize()
mColorPicker->setPosition(this->getWidth() - mColorPicker->getWidth()
- 2 * mPadding - 8 - 16, mPadding);
+
+ mChatTabs->adjustSize();
}
void ChatWindow::widgetResized(const gcn::Event &event)
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index e06c33dd9..de88a3e50 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -479,7 +479,7 @@ void TabbedArea::adjustSize()
w->setPosition(wFrameSize, wFrameSize);
w->setSize(mWidgetContainer->getWidth() - frame2,
- w->getHeight());
+ mWidgetContainer->getHeight() - frame2);
}
}