[elm] Init fix for actionslider.

SVN revision: 74014
This commit is contained in:
Gustavo Lima Chaves 2012-07-17 18:45:04 +00:00
parent 96dddcd203
commit fd330affa3
1 changed files with 2 additions and 2 deletions

View File

@ -439,6 +439,8 @@ _elm_actionslider_smart_add(Evas_Object *obj)
(obj, "actionslider", "base", elm_widget_style_get(obj));
elm_layout_content_set(obj, "elm.drag_button_base", priv->drag_button_base);
elm_layout_sizing_eval(obj);
}
static void
@ -475,8 +477,6 @@ elm_actionslider_add(Evas_Object *parent)
if (!elm_widget_sub_object_add(parent, obj))
ERR("could not add %p as sub object of %p", obj, parent);
elm_layout_sizing_eval(obj);
return obj;
}