Get icon_size from profile.

Toolbar and Carousel widgets now use the default icon_size set in the profile.



SVN revision: 53735
This commit is contained in:
Rafael Fonseca 2010-10-21 18:59:45 +00:00
parent 36c799be6a
commit 6a16cad7d6
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ elm_carousel_add(Evas_Object *parent)
ELM_SMART_SCROLLER_POLICY_AUTO,
ELM_SMART_SCROLLER_POLICY_OFF);
wd->icon_size = 32;
wd->icon_size = _elm_config->icon_size;
wd->bx = evas_object_box_add(e);
evas_object_box_layout_set(wd->bx,

View File

@ -456,7 +456,7 @@ elm_toolbar_add(Evas_Object *parent)
ELM_SMART_SCROLLER_POLICY_AUTO,
ELM_SMART_SCROLLER_POLICY_OFF);
wd->icon_size = 32;
wd->icon_size = _elm_config->icon_size;
wd->shrink_mode = ELM_TOOLBAR_SHRINK_SCROLL;
wd->homogeneous = EINA_TRUE;
wd->align = 0.5;