diff options
-rw-r--r-- | data/themes/widgets/toolbar.edc | 5 | ||||
-rw-r--r-- | src/lib/elm_toolbar.h | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/data/themes/widgets/toolbar.edc b/data/themes/widgets/toolbar.edc index 3b612e481..fbf963cb7 100644 --- a/data/themes/widgets/toolbar.edc +++ b/data/themes/widgets/toolbar.edc @@ -213,6 +213,11 @@ group { name: "elm/toolbar/base/default"; } } +/* this style is used for toolbar more layout background. + * how to test: + * elementary_test -> toolbar 8 -> click 'open' + * the whole expanded layout is elm/toolbar/more/default layout. + */ group { name: "elm/toolbar/more/default"; images { image: "toolbar_separator_h.png" COMP; diff --git a/src/lib/elm_toolbar.h b/src/lib/elm_toolbar.h index 47f44bd48..7f1d13228 100644 --- a/src/lib/elm_toolbar.h +++ b/src/lib/elm_toolbar.h @@ -469,13 +469,15 @@ EAPI void elm_toolbar_item_selected_set(Elm_Object_Item EAPI Elm_Object_Item *elm_toolbar_selected_item_get(const Evas_Object *obj); /** - * Get the more item. + * Get the more item which is auto-generated by toolbar. * * @param obj The toolbar object. * @return The toolbar more item. * - * The more item can be changed with function - * elm_object_item_text_set() and elm_object_item_content_set. + * Toolbar generates 'more' item when there is no more space to fit items in + * and toolbar is in ELM_TOOLBAR_SHRINK_MENU or ELM_TOOLBAR_SHRINK_EXPAND mode. + * The more item can be manipulated by elm_object_item_text_set() and + * elm_object_item_content_set. * * @ingroup Toolbar */ |