diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-19 05:50:44 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-19 06:16:10 +0200 |
commit | 3f1a475c6cb6501a06efc7d5d62cecc104faee26 (patch) | |
tree | ab5b74c48a90f9fede05ad148204411c9db2f4c4 /src/gui/chat.cpp | |
parent | 1ea14cd03b6172681a3dff0b31d4088af3b1b5eb (diff) | |
download | manaverse-3f1a475c6cb6501a06efc7d5d62cecc104faee26.tar.gz manaverse-3f1a475c6cb6501a06efc7d5d62cecc104faee26.tar.bz2 manaverse-3f1a475c6cb6501a06efc7d5d62cecc104faee26.tar.xz manaverse-3f1a475c6cb6501a06efc7d5d62cecc104faee26.zip |
Add flag to enable or disable scroll buttons in tabbed area.
Also add not working right margin to tabbed area.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 6815796ff..8923b40f4 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -159,6 +159,7 @@ ChatWindow::ChatWindow(): mChatInput->addActionListener(this); mChatTabs = new TabbedArea; + mChatTabs->enableScrollButtons(true); mChatColor = config.getIntValue("chatColor"); mColorListModel = new ColorListModel; @@ -300,6 +301,8 @@ void ChatWindow::adjustTabSize() mColorPicker->setPosition(this->getWidth() - mColorPicker->getWidth() - 2*getPadding() - 8 - 16, getPadding()); +// if (mColorPicker->isVisible()) +// mChatTabs->setRightMargin(mColorPicker->getWidth() - 8); } void ChatWindow::widgetResized(const gcn::Event &event) |