diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-15 23:52:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-16 00:28:38 +0300 |
commit | 661a14c66685de67ec560005c285267fe7098c62 (patch) | |
tree | 66a0cf5a2f07f9b1bf4f932577e2d47663b49a41 /src/gui/widgets/dropdown.cpp | |
parent | 54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3 (diff) | |
download | ManaVerse-661a14c66685de67ec560005c285267fe7098c62.tar.gz ManaVerse-661a14c66685de67ec560005c285267fe7098c62.tar.bz2 ManaVerse-661a14c66685de67ec560005c285267fe7098c62.tar.xz ManaVerse-661a14c66685de67ec560005c285267fe7098c62.zip |
Fix a bit jewelry theme for drop down list.
Fix drop down position.
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index 6c3e3e9cc..8c8f6843f 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -436,7 +436,7 @@ void DropDown::dropDown() const int pad2 = pad * 2; // here width should be adjusted on some other parameters - mPopup->setWidth(getWidth() - pad2 + 10); + mPopup->setWidth(getWidth() - pad2 + 8); mPopup->show(x - mPadding - frame - 1, y + getHeight()); mPopup->requestMoveToTop(); mPopup->requestFocus(); @@ -449,7 +449,6 @@ void DropDown::foldUp() { mDroppedDown = false; adjustHeight(); -// mInternalFocusHandler.focusNone(); } } |