efl_ui_layout: restore sizing_eval logic to keep backward compatibility 37/214237/1
authorYeongjong Lee <yj34.lee@samsung.com>
Thu, 19 Sep 2019 06:43:01 +0000 (15:43 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Thu, 19 Sep 2019 06:54:41 +0000 (15:54 +0900)
efl_canvas_group_calculate should be called when sub_object size hint is
changed, because some widget(e.g. scroller) expect sub_objects have done
calculating size.

see also, 74a63bdc3900523e6648e3e8915c4577d7145e33.

Change-Id: I20743885bf74231868e6f621b3a8360f3370bd05

src/lib/elementary/efl_ui_layout.c

index a3d3ea8..5e28fda 100644 (file)
@@ -158,7 +158,10 @@ _on_sub_object_size_hint_change(void *data,
 {
    if (!efl_alive_get(data)) return;
    ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
-   efl_canvas_group_change(data);
+   //TIZEN_ONLY(20190919): efl_ui_layout: restore sizing_eval logic to keep backward compatibility
+   //efl_canvas_group_change(data);
+   elm_layout_sizing_eval(data);
+   //
 }
 
 static void