diff options
author | Jaehwan Kim <jae.hwan.kim@samsung.com> | 2017-02-09 20:50:40 +0900 |
---|---|---|
committer | Jaehwan Kim <jae.hwan.kim@samsung.com> | 2017-02-10 10:23:11 +0900 |
commit | 8cc1842824e8e2ef5dae95715cec5b48e81161c2 (patch) | |
tree | 3dc08b72537f87f9692a142719f5bc8f559620a1 /mobile | |
parent | 6cc912b15cc0f2052d76e04b58f9aee5e1bdd463 (diff) | |
download | efl-theme-tizen-mobile-8cc1842824e8e2ef5dae95715cec5b48e81161c2.tar.gz efl-theme-tizen-mobile-8cc1842824e8e2ef5dae95715cec5b48e81161c2.tar.bz2 efl-theme-tizen-mobile-8cc1842824e8e2ef5dae95715cec5b48e81161c2.zip |
ctxpopup: add 1 to the item min size.
If the ctxpopup is scaled, the max size could not be same with
the sum of the height of items. So the max value should have a
buffer to escape showing the scrollbar.
Change-Id: Iff960cb0282133a812cf96f26d8f8da5ba31c821
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/widgets/ctxpopup.edc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile/widgets/ctxpopup.edc b/mobile/widgets/ctxpopup.edc index e2c5e52d..26a25bf7 100644 --- a/mobile/widgets/ctxpopup.edc +++ b/mobile/widgets/ctxpopup.edc @@ -782,7 +782,7 @@ group { "elm/ctxpopup/layout/more/default"; nomouse; data.item: "visible_maxw" CTXPOPUP_WIDTH_INC; - data.item: "visible_maxh" (CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC*7); + data.item: "visible_maxh" ((CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC+1)*7); // +1 is buffer for scaling feature. parts { spacer { "base"; @@ -908,7 +908,7 @@ group { "elm/ctxpopup/layout/landscape/more/default"; inherit: "elm/ctxpopup/layout/more/default"; data.item: "visible_maxw" CTXPOPUP_WIDTH_INC; - data.item: "visible_maxh" (CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC*5); + data.item: "visible_maxh" ((CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC+1)*5); // +1 is buffer for scaling feature. } @@ -918,7 +918,7 @@ group { "elm/ctxpopup/layout/dropdown/list"; nomouse; data.item: "visible_maxw" CTXPOPUP_DROPDOWN_WIDTH; - data.item: "visible_maxh" (CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN*5+CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT*4); + data.item: "visible_maxh" ((CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN+1)*5+(CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT+1)*4); // +1 is buffer for scaling feature. parts { spacer { "base"; @@ -1096,7 +1096,7 @@ group { "elm/ctxpopup/layout/landscape/dropdown/list"; inherit: "elm/ctxpopup/layout/dropdown/list"; data.item: "visible_maxw" CTXPOPUP_DROPDOWN_WIDTH; - data.item: "visible_maxh" (CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN*5+CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT*4); + data.item: "visible_maxh" ((CTXPOPUP_DROPDOWN_ITEM_HEIGHT_MIN+1)*5+(CTXPOPUP_DROPDOWN_SEPARATOR_HEIGHT+1)*4); // +1 is buffer for scaling feature. } |