set scale on scrollers on re-theme and on list items.

SVN revision: 54775
This commit is contained in:
Carsten Haitzler 2010-11-22 09:41:37 +00:00
parent 4633eb92d8
commit 39f48066ff
2 changed files with 2 additions and 0 deletions

View File

@ -552,6 +552,7 @@ _theme_hook(Evas_Object *obj)
}
EINA_LIST_FOREACH(wd->items, n, it)
{
edje_object_scale_set(it->base.view, elm_widget_scale_get(obj) * _elm_config->scale);
it->fixed = 0;
}
_fix_items(obj);

View File

@ -998,6 +998,7 @@ elm_smart_scroller_object_theme_set(Evas_Object *parent, Evas_Object *obj, const
API_ENTRY return;
Evas_Coord mw, mh;
_elm_theme_object_set(parent, sd->edje_obj, clas, group, style);
edje_object_scale_set(sd->edje_obj, elm_widget_scale_get(parent) * _elm_config->scale);
if (sd->pan_obj)
edje_object_part_swallow(sd->edje_obj, "elm.swallow.content", sd->pan_obj);
mw = mh = -1;