diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-14 22:34:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-14 22:34:39 +0300 |
commit | e149243eb20a1bb74657914122bcabc01de2ae36 (patch) | |
tree | 28df950c01da2d3d357204c0273531607b682e35 /src/gui/windows/statuswindow.cpp | |
parent | 4e7b98accb8f6fa927711174e4ee82a731317c74 (diff) | |
download | ManaVerse-e149243eb20a1bb74657914122bcabc01de2ae36.tar.gz ManaVerse-e149243eb20a1bb74657914122bcabc01de2ae36.tar.bz2 ManaVerse-e149243eb20a1bb74657914122bcabc01de2ae36.tar.xz ManaVerse-e149243eb20a1bb74657914122bcabc01de2ae36.zip |
Move enum from layout into separate file.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index fa0fd3378..99ed112eb 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -43,6 +43,7 @@ #include "gui/widgets/containerplacer.h" #include "gui/widgets/label.h" #include "gui/widgets/layouthelper.h" +#include "gui/widgets/layouttype.h" #include "gui/widgets/progressbar.h" #include "gui/widgets/scrollarea.h" #include "gui/widgets/vertcontainer.h" @@ -292,7 +293,7 @@ StatusWindow::StatusWindow() : mDAttrScroll->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO); place(6, 3, mDAttrScroll, 5, 3); - getLayout().setRowHeight(3, Layout::AUTO_SET); + getLayout().setRowHeight(3, LayoutType::SET); place(0, 6, mCharacterPointsLabel, 5); place(0, 5, mCopyButton); |