summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_button.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-07 16:13:38 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-08 11:10:56 +0900
commit6864495c993ce38cd0768b98eb41c617b32935e8 (patch)
tree535fd646b472d1d86b4b1f5305055b30fc14c33c /src/lib/elementary/efl_ui_button.eo
parentb7840d9177b32f480087bd7f062cc66ab2583485 (diff)
elm: Move elm_layout_sizing_eval to legacy
elm_layout_sizing_eval() marks an object as requiring recalc. Unfortunately, it's been massively abused by various widgets into actually doing the calc, or the min calc. So we end up with one API that has 3 different definitions depending on the widget type: 1. Mark as requiring recalc (correct, respects doc, elm_layout) 2. Calculate min size and other size hints 3. Actually do some geometry modification I believe we need to clarify these 3 requirements into 3 very clear and specific APIs in elementary. Right now we have similar functions in evas for 1 (evas_object_smart_changed) and 3 (smart_calculate). But their exact definition also isn't necessarily what we want for elementary. Another clear problem is that layout_eval does not do any calculation (in theory), so the "eval" word is a bit of a stretch here. Once we're sure about the exact API we want, we can add this back to EO and make it work across our EO widgets. For now let's just keep the legacy API, and its EO overrides, as is. Ref T5315
Diffstat (limited to 'src/lib/elementary/efl_ui_button.eo')
-rw-r--r--src/lib/elementary/efl_ui_button.eo1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_button.eo b/src/lib/elementary/efl_ui_button.eo
index 3fb19f8..83fea41 100644
--- a/src/lib/elementary/efl_ui_button.eo
+++ b/src/lib/elementary/efl_ui_button.eo
@@ -22,7 +22,6 @@ class Efl.Ui.Button (Elm.Layout, Efl.Ui.Clickable, Efl.Ui.Autorepeat, Efl.Text,
22 Elm.Widget.theme_apply; 22 Elm.Widget.theme_apply;
23 Elm.Widget.sub_object_del; 23 Elm.Widget.sub_object_del;
24 Elm.Widget.widget_event; 24 Elm.Widget.widget_event;
25 Elm.Layout.sizing_eval;
26 Elm.Interface.Atspi_Widget_Action.elm_actions { get; } 25 Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
27 Efl.Part.part; 26 Efl.Part.part;
28 Efl.Text.text { get; set; } 27 Efl.Text.text { get; set; }