summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-18 13:37:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-18 13:37:33 +0300
commitae83c977b2df61ae6441ccee8b594f9c7819de1d (patch)
treef385ab80d25caccc48d43370bec3e777bc2f92a5 /src
parentc9f1d14eee45827832e1297d88ca62b0f01003ac (diff)
downloadmv-ae83c977b2df61ae6441ccee8b594f9c7819de1d.tar.gz
mv-ae83c977b2df61ae6441ccee8b594f9c7819de1d.tar.bz2
mv-ae83c977b2df61ae6441ccee8b594f9c7819de1d.tar.xz
mv-ae83c977b2df61ae6441ccee8b594f9c7819de1d.zip
improve vertcontainer.
Diffstat (limited to 'src')
-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 ea7bb4e30..0611b3714 100644
--- a/src/gui/widgets/vertcontainer.cpp
+++ b/src/gui/widgets/vertcontainer.cpp
@@ -54,7 +54,7 @@ void VertContainer::add2(gcn::Widget *const widget, const bool resizable,
widget->setPosition(mLeftSpacing, mNextY);
if (resizable)
{
- widget->setSize(getWidth() - mLeftSpacing, mVerticalItemSize * 5);
+ widget->setSize(mDimension.width - mLeftSpacing, mVerticalItemSize * 5);
mResizableWidgets.push_back(widget);
}
else if (widget->getHeight() > mVerticalItemSize)