summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layouthelper.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-25 22:27:32 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-25 22:27:41 +0200
commit8331284990b8d998a7e323e6fcf3c25f2f7d60d8 (patch)
tree168cf7bdc4cc4e8d93c8072ded3c4a1246c12e64 /src/gui/widgets/layouthelper.h
parentf0d0f33c8fa4910040204ea3023cd08b4660f56f (diff)
downloadmana-8331284990b8d998a7e323e6fcf3c25f2f7d60d8.tar.gz
mana-8331284990b8d998a7e323e6fcf3c25f2f7d60d8.tar.bz2
mana-8331284990b8d998a7e323e6fcf3c25f2f7d60d8.tar.xz
mana-8331284990b8d998a7e323e6fcf3c25f2f7d60d8.zip
Reduced the height of the Setup window
Also removed all the hardcoded sizes of the various setup tabs. Instead, support for dynamically adjusting layout was added to the Container class. Various other places were also adapted to use the new layout support in Container.
Diffstat (limited to 'src/gui/widgets/layouthelper.h')
-rw-r--r--src/gui/widgets/layouthelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h
index 055e6fa6..b8512212 100644
--- a/src/gui/widgets/layouthelper.h
+++ b/src/gui/widgets/layouthelper.h
@@ -34,14 +34,14 @@
class LayoutHelper : public gcn::WidgetListener
{
public:
- LayoutHelper(gcn::Container *container);
+ explicit LayoutHelper(gcn::Container *container);
~LayoutHelper();
/**
* Gets the layout handler.
*/
- Layout &getLayout();
+ Layout &getLayout() { return mLayout; }
/**
* Computes the position of the widgets according to the current