summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}
}