forked from enlightenment/efl
elementary: don't take care of EVAS_HINT_FILL in els_icon
SVN revision: 67640
This commit is contained in:
parent
57611ce2d7
commit
64ccd3765f
|
@ -580,6 +580,8 @@ _smart_reconfigure(Smart_Data *sd)
|
|||
parent = elm_widget_parent_widget_get(sd->obj);
|
||||
if (parent)
|
||||
evas_object_size_hint_align_get(parent, &alignh, &alignv);
|
||||
if (alignh < 0.0) alignh = 0.5;
|
||||
if (alignv < 0.0) alignv = 0.5;
|
||||
x = sd->x + ((sd->w - w) * alignh);
|
||||
y = sd->y + ((sd->h - h) * alignv);
|
||||
evas_object_move(sd->obj, x, y);
|
||||
|
|
Loading…
Reference in New Issue