projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ef504
)
elm_toolbar: added to ensure different sizes of items in shrink mode.
author
Bowon Ryu
<bowon.ryu@samsung.com>
Fri, 26 May 2017 04:01:56 +0000
(13:01 +0900)
committer
Jaehyun Cho
<jae_hyun.cho@samsung.com>
Tue, 30 May 2017 06:41:05 +0000
(15:41 +0900)
Change-Id: I9f8a14e77a8859c9a7543e442f8355d5ef5c0d3d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/elementary/elm_toolbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_toolbar.c
b/src/lib/elementary/elm_toolbar.c
index
95b57e0
..
8db974b
100644
(file)
--- a/
src/lib/elementary/elm_toolbar.c
+++ b/
src/lib/elementary/elm_toolbar.c
@@
-3514,6
+3514,12
@@
_elm_toolbar_shrink_mode_set(Eo *obj, Elm_Toolbar_Data *sd, Elm_Toolbar_Shrink_M
sd->more_item = _item_new(obj, "go-down", "More", NULL, NULL);
_resizing_eval_item(sd->more_item);
}
+ else if (shrink_mode == ELM_TOOLBAR_SHRINK_SCROLL)
+ {
+ elm_toolbar_homogeneous_set(obj, EINA_FALSE);
+ elm_interface_scrollable_policy_set
+ (obj, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_OFF);
+ }
else
elm_interface_scrollable_policy_set
(obj, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_OFF);