summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-19 05:50:44 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-19 06:16:10 +0200
commit3f1a475c6cb6501a06efc7d5d62cecc104faee26 (patch)
treeab5b74c48a90f9fede05ad148204411c9db2f4c4 /src/gui/chat.cpp
parent1ea14cd03b6172681a3dff0b31d4088af3b1b5eb (diff)
downloadmv-3f1a475c6cb6501a06efc7d5d62cecc104faee26.tar.gz
mv-3f1a475c6cb6501a06efc7d5d62cecc104faee26.tar.bz2
mv-3f1a475c6cb6501a06efc7d5d62cecc104faee26.tar.xz
mv-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.cpp3
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)