From a1d38a0ab4095c192390dbf10bca949454fc4b59 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 Mar 2011 01:27:47 +0200 Subject: Fix color picker position to free space for scrolling buttons in chat. --- src/gui/chat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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()); } -- cgit v1.2.3-60-g2f50