summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-22 15:10:40 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-22 15:10:40 +0100
commita26c787e2bb5a673981b03e17b832972e2de1a29 (patch)
tree88f1a015099fee925ebcc5d3cad0b3cdb138c2dd
parent1b20f789dc05a331353d7bcf024827df6b554e23 (diff)
Revert "efl_ui_layout: set needs_size_calc flag at constructor"
This reverts commit 98b19244329725c76ba601ea66ad5161841a68b9. This totally broke elm widget min size calcs, e dialogs... sizing is totally broken and unusable as a result. this is a major break and needs immediate reverting back to a working state. Sorry Woki. You need to test this... elementary_Test out of the box is totally broken as all hell not to mention a lot more.
-rw-r--r--src/lib/elementary/efl_ui_layout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index 4b4643c72e..1390fc774f 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2445,7 +2445,7 @@ _efl_ui_layout_base_efl_object_constructor(Eo *obj, Efl_Ui_Layout_Data *sd)
2445} 2445}
2446 2446
2447EOLIAN static Efl_Object* 2447EOLIAN static Efl_Object*
2448_efl_ui_layout_base_efl_object_finalize(Eo *obj, Efl_Ui_Layout_Data *pd) 2448_efl_ui_layout_base_efl_object_finalize(Eo *obj, Efl_Ui_Layout_Data *pd EINA_UNUSED)
2449{ 2449{
2450 Eo *eo, *win; 2450 Eo *eo, *win;
2451 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL); 2451 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
@@ -2459,8 +2459,6 @@ _efl_ui_layout_base_efl_object_finalize(Eo *obj, Efl_Ui_Layout_Data *pd)
2459 if (efl_file_get(wd->resize_obj) || efl_file_mmap_get(wd->resize_obj)) 2459 if (efl_file_get(wd->resize_obj) || efl_file_mmap_get(wd->resize_obj))
2460 efl_file_load(wd->resize_obj); 2460 efl_file_load(wd->resize_obj);
2461 2461
2462 pd->needs_size_calc = EINA_TRUE;
2463
2464 return eo; 2462 return eo;
2465} 2463}
2466 2464