summaryrefslogtreecommitdiff
path: root/src/gui/widgets/vertcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-21 21:29:51 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-21 21:29:51 +0300
commitf3a89322713a379678abc420d75230a9b17aa18f (patch)
tree1fa4318ba77eeef61272eb6cd982c7bf37b82800 /src/gui/widgets/vertcontainer.cpp
parent552867509d2a29d806d2ba416b24fbf7ac711803 (diff)
downloadManaVerse-f3a89322713a379678abc420d75230a9b17aa18f.tar.gz
ManaVerse-f3a89322713a379678abc420d75230a9b17aa18f.tar.bz2
ManaVerse-f3a89322713a379678abc420d75230a9b17aa18f.tar.xz
ManaVerse-f3a89322713a379678abc420d75230a9b17aa18f.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/vertcontainer.cpp')
-rw-r--r--src/gui/widgets/vertcontainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/vertcontainer.cpp b/src/gui/widgets/vertcontainer.cpp
index 0611b3714..947080762 100644
--- a/src/gui/widgets/vertcontainer.cpp
+++ b/src/gui/widgets/vertcontainer.cpp
@@ -54,7 +54,8 @@ void VertContainer::add2(gcn::Widget *const widget, const bool resizable,
widget->setPosition(mLeftSpacing, mNextY);
if (resizable)
{
- widget->setSize(mDimension.width - mLeftSpacing, mVerticalItemSize * 5);
+ widget->setSize(mDimension.width - mLeftSpacing,
+ mVerticalItemSize * 5);
mResizableWidgets.push_back(widget);
}
else if (widget->getHeight() > mVerticalItemSize)