From: Sanghyeon Lee Date: Tue, 25 Jun 2013 08:41:46 +0000 (+0900) Subject: [Genlist] change edit mode style X-Git-Tag: accepted/tizen/20131029.210118~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53a2533aaaa41a6a9a92343bbd8fbb8e93e2fbbf;p=profile%2Fivi%2Fefl-theme-tizen.git [Genlist] change edit mode style Change-Id: I4df75f5fa9e97d60e59d3e60f2a6fd7a42e96d3e --- diff --git a/themes/widgets/genlist/genlist_macro.edc b/themes/widgets/genlist/genlist_macro.edc index ba43987..c2bb7ba 100755 --- a/themes/widgets/genlist/genlist_macro.edc +++ b/themes/widgets/genlist/genlist_macro.edc @@ -356,7 +356,7 @@ #define GENLIST_PROLOG_NORMAL \ GENLIST_PROLOG \ data.item: "treesize" GENLIST_TREESIZE_DEFAULT; \ - data.item: "flips" "elm.flip.icon elm.flip.content elm.flip.eraser"; \ + data.item: "flips" "elm.flip.icon elm.flip.content"; \ images { \ image : "00_list_group_bg.png" COMP; \ image : "00_list_group_bg_press.png" COMP; \ @@ -364,7 +364,7 @@ #define GENLIST_PROLOG_DIALOGUE \ GENLIST_PROLOG \ - data.item: "flips" "elm.flip.icon elm.flip.content elm.flip.eraser"; \ + data.item: "flips" "elm.flip.icon elm.flip.content"; \ images { \ image : "00_list_group_bg.png" COMP; \ image : "00_list_group_bg_press.png" COMP; \ @@ -823,8 +823,8 @@ } \ description { state: "editmode" 0.0; \ inherit: "default" 0.0; \ - min: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_ICON_MEDIUM_SIZE) 0; \ - max: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_ICON_MEDIUM_SIZE) 0; \ + min: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_BTN_02_SIZE) 0; \ + max: (GENLIST_PADDING_SIZE_DEFAULT*2+GENLIST_BTN_02_SIZE) 0; \ } \ ) \ GENLIST_PART_IMAGE("bg_dialogue", \ @@ -1411,8 +1411,8 @@ fixed: 1 0; \ align: 1.0 0.5; \ rel1.relative: 1 0; \ - min: GENLIST_PADDING_SIZE_RIGHT 0; \ - max: GENLIST_PADDING_SIZE_RIGHT -1; \ + min: GENLIST_PADDING_SIZE_DEFAULT 0; \ + max: GENLIST_PADDING_SIZE_DEFAULT -1; \ } \ ) \ GENLIST_PART_ICON("elm.icon.edit", \ @@ -1423,8 +1423,8 @@ inherit: "default" 0.0; \ visible: 1; \ fixed: 1 1; \ - min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; \ - max: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE; \ + min: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ + max: GENLIST_BTN_02_SIZE GENLIST_BTN_02_SIZE; \ } \ ) @@ -1483,8 +1483,8 @@ } \ description { state: "editmode" 0.0; \ inherit: "default" 0.0; \ - min: (GENLIST_PADDING_SIZE_DEFAULT+GENLIST_ICON_MEDIUM_SIZE) 0; \ - max: (GENLIST_PADDING_SIZE_DEFAULT+GENLIST_ICON_MEDIUM_SIZE) -1; \ + min: (GENLIST_PADDING_SIZE_DEFAULT+GENLIST_BTN_02_SIZE) 0; \ + max: (GENLIST_PADDING_SIZE_DEFAULT+GENLIST_BTN_02_SIZE) -1; \ } \ ) \ GENLIST_PART_EDITBTN @@ -1710,15 +1710,6 @@ color: GENLIST_LIST_BG_COLOR;\ }\ ) \ - GENLIST_PART_SPACER("elm.flip.padding.left", \ - description { state: "default" 0.0; \ - min: 26 0; \ - max: 26 -1; \ - fixed: 1 0; \ - align: 0 0.5; \ - rel2.relative: 0 1; \ - } \ - ) \ GENLIST_PART_SPACER("elm.flip.padding.right", \ description { state: "default" 0.0; \ min: 26 0; \ @@ -1729,30 +1720,17 @@ } \ ) \ GENLIST_PART_ICON("elm.flip.content", \ - GENLIST_DESCRIPTION("elm.flip.padding.left", "elm.flip.padding.eraser.left", \ + GENLIST_DESCRIPTION("elm.padding.left", "elm.flip.padding.icon.left", \ "elm.padding.top", "elm.padding.bottom", \ visible: 0; \ aspect: 1 1; \ + min: 0 96; \ ) \ description { state: "flipped" 0.0; \ inherit: "default" 0.0; \ visible: 1; \ } \ ) \ - GENLIST_PART_PADDING_R("elm.flip.padding.eraser.left", "elm.flip.eraser") \ - GENLIST_PART_ICON("elm.flip.eraser", \ - GENLIST_DESCRIPTION_RTB("elm.flip.padding.icon.left", \ - "elm.padding.top", "elm.padding.bottom", \ - fixed: 1 0; \ - visible: 0; \ - min: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE; \ - max: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE; \ - ) \ - description { state: "show" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - ) \ GENLIST_PART_PADDING_R("elm.flip.padding.icon.left", "elm.flip.icon") \ GENLIST_PART_ICON( "elm.flip.icon", \ GENLIST_DESCRIPTION_RTB("elm.flip.padding.right", \ @@ -1760,7 +1738,7 @@ visible: 0; \ aspect: 1 1; \ align: 1 0.5; \ - max: 154 74; \ + max: 158 74; \ ) \ description { state: "flipped" 0.0; \ inherit: "default" 0.0; \ @@ -2246,16 +2224,6 @@ source: "elm"; \ action: STATE_SET "default" 0.0; \ target: "elm.flip.bg"; \ - } \ - program { \ - signal: "elm,state,eraser,show"; \ - action: STATE_SET "show" 0.0; \ - target: "elm.flip.eraser"; \ - } \ - program { \ - signal: "elm,state,eraser,hide"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.flip.eraser"; \ } #define GENLIST_PROGRAM_FLIP_TARGET( TARGET ) \