aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/linear_layout.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-07 18:54:41 +0800
committercrupest <crupest@outlook.com>2018-11-07 18:54:41 +0800
commit2b5b89e9483063f3af05fb5485043868d447994b (patch)
treeafb0bff66420d0a631416149142549adb5c45dc2 /src/ui/controls/linear_layout.h
parent9f7de7f0775b86e3c82d4c5e3427a6f2fd98810b (diff)
downloadcru-2b5b89e9483063f3af05fb5485043868d447994b.tar.gz
cru-2b5b89e9483063f3af05fb5485043868d447994b.tar.bz2
cru-2b5b89e9483063f3af05fb5485043868d447994b.zip
Add min max.
Diffstat (limited to 'src/ui/controls/linear_layout.h')
-rw-r--r--src/ui/controls/linear_layout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/controls/linear_layout.h b/src/ui/controls/linear_layout.h
index 1c2232bb..021f4b7d 100644
--- a/src/ui/controls/linear_layout.h
+++ b/src/ui/controls/linear_layout.h
@@ -4,6 +4,8 @@
namespace cru::ui::controls
{
+ // Min length of main side in layout params is of no meaning.
+ // All children will layout from start and redundant length is blank.
class LinearLayout : public Control
{
public: