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-08-05 17:16:58 +0200
commit542570896e1e0ce73ebfc442b48e741c2ea32377 (patch)
tree834b0f9c87d2aa73d22a004a103d8e615ee6d9ba /src/gui/widgets/layouthelper.h
parent1fe16bdda5fa0d7112f4568e7bcd892d01c197b9 (diff)
downloadmana-542570896e1e0ce73ebfc442b48e741c2ea32377.tar.gz
mana-542570896e1e0ce73ebfc442b48e741c2ea32377.tar.bz2
mana-542570896e1e0ce73ebfc442b48e741c2ea32377.tar.xz
mana-542570896e1e0ce73ebfc442b48e741c2ea32377.zip
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. Reviewed-by: Erik Schilling
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