fix elm notify (and popup) after win position fixes

This commit is contained in:
Carsten Haitzler 2014-04-03 17:31:01 +09:00
parent f5f68dd9de
commit cac144658d
1 changed files with 5 additions and 0 deletions

View File

@ -112,6 +112,11 @@ _sizing_eval(Evas_Object *obj)
if (!sd->parent) return;
evas_object_geometry_get(sd->parent, &x, &y, &w, &h);
if (eo_isa(sd->parent, ELM_OBJ_WIN_CLASS))
{
x = 0;
y = 0;
}
evas_object_move(obj, x, y);
evas_object_resize(obj, w, h);
}