aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_box.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-17 13:41:29 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-18 15:34:29 +0900
commitacb9ae70fe7832b0c3a08fb3f316a9630405bc49 (patch)
tree27673d0562c3ec79c75b5d7b9bb0baf509956e2e /src/lib/elementary/efl_ui_box.eo
parenteo: Fix crash in case of API misuse (diff)
downloadefl-acb9ae70fe7832b0c3a08fb3f316a9630405bc49.tar.gz
eo/elm: Simplify box/grid EO API
After talking with @eunue I realised that the way I'd first implemented the box/grid "pack" API was simply too complicated. I had tried to make it possible to change the layout function at runtime, like good old evas box, but since there are no function pointers in EO the final design was really convoluted. If someone really needs to change the layout of a box at runtime, just create your own subclass, or unpack all items and repack them in a new box. Note: there are still some issues with the layout params & flow
Diffstat (limited to 'src/lib/elementary/efl_ui_box.eo')
-rw-r--r--src/lib/elementary/efl_ui_box.eo2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_box.eo b/src/lib/elementary/efl_ui_box.eo
index 0f81dacb80..f0b68ba86e 100644
--- a/src/lib/elementary/efl_ui_box.eo
+++ b/src/lib/elementary/efl_ui_box.eo
@@ -30,7 +30,5 @@ class Efl.Ui.Box (Elm.Widget, Efl.Pack.Linear, Efl.Pack.Layout,
Efl.Pack.Linear.pack_index_get;
Efl.Pack.Layout.layout_update;
Efl.Pack.Layout.layout_request;
- Efl.Pack.Layout.layout_engine { get; set; }
- Efl.Pack.Layout.layout_do;
}
}