From 94fdc870da3cfba82ac9b05b0e77489782244a76 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Jul 2013 14:12:19 +0300 Subject: fix again tabs size. --- src/gui/chatwindow.cpp | 2 ++ src/gui/widgets/tabbedarea.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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); } } -- cgit v1.2.3-70-g09d2