elementary: don't take care of EVAS_HINT_FILL in els_icon

SVN revision: 67640
This commit is contained in:
Michael BOUCHAUD 2012-01-31 17:11:34 +00:00
parent 57611ce2d7
commit 64ccd3765f
1 changed files with 2 additions and 0 deletions

View File

@ -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);