summaryrefslogtreecommitdiff
path: root/src/gui/widgets/vertcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-15 23:04:44 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-16 00:24:50 +0300
commitb1f8a2eaab592b59b5946bdbe38f0d8f775cc434 (patch)
tree96d80ba45ad1ddaf5038d983b90365854efb4753 /src/gui/widgets/vertcontainer.cpp
parentdec741233dc709950fe542bcd4f69b254b33eb80 (diff)
downloadmanaplus-b1f8a2eaab592b59b5946bdbe38f0d8f775cc434.tar.gz
manaplus-b1f8a2eaab592b59b5946bdbe38f0d8f775cc434.tar.bz2
manaplus-b1f8a2eaab592b59b5946bdbe38f0d8f775cc434.tar.xz
manaplus-b1f8a2eaab592b59b5946bdbe38f0d8f775cc434.zip
Add drop down widget for setup pages.
Known issue: popup listbox drawed under other widgets.
Diffstat (limited to 'src/gui/widgets/vertcontainer.cpp')
-rw-r--r--src/gui/widgets/vertcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/vertcontainer.cpp b/src/gui/widgets/vertcontainer.cpp
index d65274f20..ea6b4d520 100644
--- a/src/gui/widgets/vertcontainer.cpp
+++ b/src/gui/widgets/vertcontainer.cpp
@@ -49,7 +49,7 @@ void VertContainer::add(gcn::Widget *widget, bool resizable, int spacing)
widget->setPosition(mLeftSpacing, mNextY);
if (resizable)
{
- widget->setSize(getWidth() - mLeftSpacing, mVerticalItemSize);
+ widget->setSize(getWidth() - mLeftSpacing, mVerticalItemSize * 5);
mResizableWidgets.push_back(widget);
}
else if (widget->getHeight() > mVerticalItemSize)