summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-09 01:27:47 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-09 01:27:47 +0200
commita1d38a0ab4095c192390dbf10bca949454fc4b59 (patch)
treeec5abd4aa0bf627977723043d60862bc57d2bcbb /src/gui/chat.cpp
parenta4190c35493a50641014af1b2ec2c13638e49f41 (diff)
downloadmv-a1d38a0ab4095c192390dbf10bca949454fc4b59.tar.gz
mv-a1d38a0ab4095c192390dbf10bca949454fc4b59.tar.bz2
mv-a1d38a0ab4095c192390dbf10bca949454fc4b59.tar.xz
mv-a1d38a0ab4095c192390dbf10bca949454fc4b59.zip
Fix color picker position to free space for scrolling buttons in chat.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index b1b8e0c93..b2f51a5e6 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -175,7 +175,7 @@ ChatWindow::ChatWindow():
loadWindowState();
mColorPicker->setPosition(this->getWidth() - mColorPicker->getWidth()
- - 2*getPadding() - 8, getPadding());
+ - 2*getPadding() - 8 - 16, getPadding());
// Add key listener to chat input to be able to respond to up/down
mChatInput->addKeyListener(this);
@@ -297,7 +297,7 @@ void ChatWindow::adjustTabSize()
}
mColorPicker->setPosition(this->getWidth() - mColorPicker->getWidth()
- - 2*getPadding() - 8, getPadding());
+ - 2*getPadding() - 8 - 16, getPadding());
}