aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_box.eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-24 15:41:39 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-26 12:06:02 +0200
commit7aa9ea071a231896a545f496acf7f43ac695d811 (patch)
treee2ca2bb96eea56add0aa9f5b4b2a59c938d20d7b /src/lib/elementary/efl_ui_box.eo
parentefl_ui: fix not to call _on_child_del() after container is deleted (diff)
downloadefl-7aa9ea071a231896a545f496acf7f43ac695d811.tar.gz
efl_pack: split algin and padding property
the pack interface is a general interface for how we pack things into a container. the align and padding property has less to nothing to do with this. Hence this commit splits the two properties into theire own interface. fix https://phab.enlightenment.org/T7825 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D8699
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_box.eo10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/efl_ui_box.eo b/src/lib/elementary/efl_ui_box.eo
index 24f2928118..fd5ea515bb 100644
--- a/src/lib/elementary/efl_ui_box.eo
+++ b/src/lib/elementary/efl_ui_box.eo
@@ -1,5 +1,5 @@
class @beta Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pack_Layout,
- Efl.Ui.Direction
+ Efl.Ui.Direction, Efl.Gfx.Arrangement
{
[[The box widget.
@@ -8,8 +8,8 @@ class @beta Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pac
By default, the box will use an internal function to set the layout to
a single row, either vertical or horizontal. This layout is affected
- by a number of parameters. The values given by @Efl.Pack.pack_padding.set
- and @Efl.Pack.pack_align.set and the hints set to each object in the box.
+ by a number of parameters. The values given by @Efl.Gfx.Arrangement.content_padding.set
+ and @Efl.Gfx.Arrangement.content_align.set and the hints set to each object in the box.
FIXME:
THIS CLASS NEEDS GOOD UP TO DATE DOCUMENTATION. LEGACY BOX AND UI BOX
@@ -40,8 +40,8 @@ class @beta Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pac
Efl.Pack.unpack_all;
Efl.Pack.unpack;
Efl.Pack.pack;
- Efl.Pack.pack_padding { get; set; }
- Efl.Pack.pack_align { get; set; }
+ Efl.Gfx.Arrangement.content_padding { get; set; }
+ Efl.Gfx.Arrangement.content_align { get; set; }
Efl.Pack_Linear.pack_begin;
Efl.Pack_Linear.pack_end;
Efl.Pack_Linear.pack_before;