summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/layouthelper.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h
index 0f84e280c..c0389cec3 100644
--- a/src/gui/widgets/layouthelper.h
+++ b/src/gui/widgets/layouthelper.h
@@ -65,13 +65,17 @@ class LayoutHelper final : public WidgetListener
* @param w if non-zero, force the container to this width.
* @param h if non-zero, force the container to this height.
*/
- void reflowLayout(int w = 0, int h = 0);
+ void reflowLayout(int w,
+ int h);
/**
* Adds a widget to the container and sets it at given cell.
*/
- LayoutCell &place(const int x, const int y, Widget *const wg,
- const int w = 1, const int h = 1);
+ LayoutCell &place(const int x,
+ const int y,
+ Widget *const wg,
+ const int w,
+ const int h);
/**
* Returns a proxy for adding widgets in an inner table of the layout.