aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_box.eo
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-02-13 08:39:20 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-13 09:23:01 -0500
commit27e101da4b0134186217e27aceceb96ef2636fe5 (patch)
treed75953af1f02cc8e09948d8aa121eed55e13e75e /src/lib/elementary/efl_ui_box.eo
parenttest/ui_box: add unittest for Efl.Ui.Box (diff)
downloadefl-27e101da4b0134186217e27aceceb96ef2636fe5.tar.gz
ui.box: implement homogeneous mode
Summary: On homogeneous mode, children are of the same weight and of the same min size which is determined by maximum min size of children. Depends on https://phab.enlightenment.org/D7750 Reviewers: Jaehyun_Cho, zmike, jpeg Reviewed By: zmike Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7889
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_box.eo12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_box.eo b/src/lib/elementary/efl_ui_box.eo
index 3b595096ef..fddf253d90 100644
--- a/src/lib/elementary/efl_ui_box.eo
+++ b/src/lib/elementary/efl_ui_box.eo
@@ -15,6 +15,18 @@ class Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pack_Layo
THIS CLASS NEEDS GOOD UP TO DATE DOCUMENTATION. LEGACY BOX AND UI BOX
BEHAVE SLIGHTLY DIFFERENTLY AND USE VASTLY DIFFERENT APIS.
]]
+ methods {
+ @property homogeneous {
+ [[Control homogeneous mode.
+
+ This will enable the homogeneous mode where children are of the same
+ weight and of the same min size which is determined by maximum min
+ size of children.]]
+ values {
+ homogeneous: bool; [[$true if the box is homogeneous, $false otherwise]]
+ }
+ }
+ }
implements {
Efl.Object.constructor;
Efl.Canvas.Group.group_calculate;