summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_object.eo
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-01-16 16:47:51 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-01-16 16:47:51 +0900
commit78ae9c0ae069ff86e701ff98cf5674cc491ee156 (patch)
treeeb8ce90d755fc664b839b155778e31f5ec42dad0 /src/lib/evas/canvas/efl_canvas_object.eo
parent4858d9eb81f4aa5d24b9555b5caf0e058609d8ab (diff)
gfx: Add size hint fill (EO)
Summary: If widget use both hint_align(HINT_FILL) and hint_max together, there is no way to set to hint_align. See, elementary_test -to 'efl.ui.box' - "Button with a quite long text." button. you can control button position using "Box align" slider, but this is not proper implementation. When there are two widget which have hint_align(HINT_FILL) and hint_max, those positions are determined by box_align rather than hint_align. it means widget align cannot be set individually. To solve this problem, this patch add hint_fill property. in order to avoid conflict with legacy API named evas_object_size_hint_fill_set(), it only works for EO widgets(made by efl_add). Also, EFL_GFX_SIZE_HINT_FILL is removed. @feature Test Plan: elementary_test -to 'efl.ui.box' elementary_test -to 'efl.ui.table' Reviewers: jpeg, Hermet, Jaehyun_Cho, raster, barbieri Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T3912 Differential Revision: https://phab.enlightenment.org/D7409
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_object.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_object.eo1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index 14dfa3e..ac45778 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -608,6 +608,7 @@ abstract Efl.Canvas.Object (Efl.Loop_Consumer, Efl.Gfx.Entity, Efl.Gfx.Color, Ef
608 Efl.Gfx.Size_Hint.hint_max { get; set; } 608 Efl.Gfx.Size_Hint.hint_max { get; set; }
609 Efl.Gfx.Size_Hint.hint_margin { get; set; } 609 Efl.Gfx.Size_Hint.hint_margin { get; set; }
610 Efl.Gfx.Size_Hint.hint_weight { get; set; } 610 Efl.Gfx.Size_Hint.hint_weight { get; set; }
611 Efl.Gfx.Size_Hint.hint_fill { get; set; }
611 Efl.Gfx.Entity.scale { set; get; } 612 Efl.Gfx.Entity.scale { set; get; }
612 Efl.Input.Interface.seat_event_filter { get; set; } 613 Efl.Input.Interface.seat_event_filter { get; set; }
613 Efl.Loop_Consumer.loop { get; } 614 Efl.Loop_Consumer.loop { get; }