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:
parent
36c799be6a
commit
6a16cad7d6
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue