forked from enlightenment/efl
* edje: Reverting to recalc_do in edje smart resize.
Note: A bug spotted in layout of box is the reason of this revert. From my understanding, layout require some property on the object to be correctly set. This is done during edje_recalc_single on the part. The layout fonction of evas would be called just after the resize. If we didn't do an edje_recalc_do, but an edje_recalc, the call to edje_recalc_single will be delayed and the layout property will not be set correctly. SVN revision: 41698
This commit is contained in:
parent
e713c62730
commit
3d5a09f6e8
|
@ -161,7 +161,7 @@ _edje_smart_resize(Evas_Object * obj, Evas_Coord w, Evas_Coord h)
|
|||
}
|
||||
// evas_object_resize(ed->clipper, ed->w, ed->h);
|
||||
ed->dirty = 1;
|
||||
_edje_recalc(ed);
|
||||
_edje_recalc_do(ed);
|
||||
_edje_emit(ed, "resize", NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue