forked from enlightenment/efl
edje: edje_edit - recalculate object after chenge aspect preference
This commit is contained in:
parent
257e399e53
commit
9e2aa810cc
|
@ -6063,6 +6063,7 @@ edje_edit_state_aspect_pref_set(Evas_Object *obj, const char *part, const char *
|
||||||
GET_PD_OR_RETURN(EINA_FALSE);
|
GET_PD_OR_RETURN(EINA_FALSE);
|
||||||
if (pref > 4) return EINA_FALSE;
|
if (pref > 4) return EINA_FALSE;
|
||||||
pd->aspect.prefer = pref;
|
pd->aspect.prefer = pref;
|
||||||
|
edje_object_calc_force(obj);
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue