forked from enlightenment/efl
Revert "efl_ui_layout: set needs_size_calc flag at constructor"
This reverts commit 98b1924432
.
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.
This commit is contained in:
parent
1b20f789dc
commit
a26c787e2b
|
@ -2445,7 +2445,7 @@ _efl_ui_layout_base_efl_object_constructor(Eo *obj, Efl_Ui_Layout_Data *sd)
|
|||
}
|
||||
|
||||
EOLIAN static Efl_Object*
|
||||
_efl_ui_layout_base_efl_object_finalize(Eo *obj, Efl_Ui_Layout_Data *pd)
|
||||
_efl_ui_layout_base_efl_object_finalize(Eo *obj, Efl_Ui_Layout_Data *pd EINA_UNUSED)
|
||||
{
|
||||
Eo *eo, *win;
|
||||
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)
|
|||
if (efl_file_get(wd->resize_obj) || efl_file_mmap_get(wd->resize_obj))
|
||||
efl_file_load(wd->resize_obj);
|
||||
|
||||
pd->needs_size_calc = EINA_TRUE;
|
||||
|
||||
return eo;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue