diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-07 14:12:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-07 14:12:19 +0300 |
commit | 94fdc870da3cfba82ac9b05b0e77489782244a76 (patch) | |
tree | 1cdbd7d7c46b1610e723724c610c3f66093dc6bf /src/gui | |
parent | 62152b1ea96cf5e35b8d542ca451e682fdd052dc (diff) | |
download | mv-94fdc870da3cfba82ac9b05b0e77489782244a76.tar.gz mv-94fdc870da3cfba82ac9b05b0e77489782244a76.tar.bz2 mv-94fdc870da3cfba82ac9b05b0e77489782244a76.tar.xz mv-94fdc870da3cfba82ac9b05b0e77489782244a76.zip |
fix again tabs size.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 2 |
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); } } |