From ecaabb59c1ad32937c92cf3eff4c021dd93d416f Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Fri, 7 Oct 2011 18:06:00 +0900 Subject: [PATCH] [genlist] realign genlist dialogue edit style --- themes/groups/genlist/genlist_edit.edc | 68 +++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 29 deletions(-) diff --git a/themes/groups/genlist/genlist_edit.edc b/themes/groups/genlist/genlist_edit.edc index 262e792..a7113dd 100644 --- a/themes/groups/genlist/genlist_edit.edc +++ b/themes/groups/genlist/genlist_edit.edc @@ -828,12 +828,22 @@ color: GENLIST_PART_BG_COLOR_INC; } } - + part { name: "elm.rect.dialogue"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_10_INC 0; + fixed: 1 0; + color: GENLIST_PART_DIALOGUE_INDICATOR_BG_COLOR_INC; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + } + } part { name: "elm.padding.left"; type: RECT; scale: 1; description { state: "default" 0.0; - min: GENLIST_SIZE_10_INC 0; + min: 0 0; fixed: 1 0; visible: 0; rel1 { @@ -844,7 +854,6 @@ align: 0.0 0.0; } } - part { name: "elm.edit.icon.1"; clip_to: "disclip"; type: SWALLOW; @@ -867,27 +876,34 @@ align: 0.0 0.5; } } - - part { name: "elm.rect.dialogue"; + part { name: "elm.padding.icon1.right"; type: RECT; scale: 1; description { state: "default" 0.0; min: GENLIST_SIZE_10_INC 0; fixed: 1 0; - color: GENLIST_PART_DIALOGUE_INDICATOR_BG_COLOR_INC; - rel2.relative: 0.0 1.0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.edit.icon.1"; + } + rel2.to_x: "elm.edit.icon.1"; align: 0.0 0.0; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } - part { name: "original_edc"; + part { name: "original_edc_cliprect"; clip_to: "disclip"; - type: SWALLOW; + type: RECT; mouse_events: 1; scale: 1; description { state: "default" 0.0; rel1 { - relative: 0.0 1.0; - to_x: "elm.padding.icon1.right"; + relative: 1.0 1.0; + to_x: "elm.edit.icon.1"; to_y: "elm.padding.top"; } rel2 { @@ -914,26 +930,20 @@ } } } - part { name: "elm.padding.icon1.right"; - type: RECT; + part { name: "original_edc"; + clip_to: "original_edc_cliprect"; + type: SWALLOW; + mouse_events: 1; scale: 1; description { state: "default" 0.0; - min: GENLIST_SIZE_10_INC 0; - fixed: 1 0; - visible: 1; - color: GENLIST_PART_BG_COLOR_INC; - rel1 { - relative: 1.0 0.0; - to_x: "elm.edit.icon.1"; + rel1 { relative: -1.0 0.0; + to_x: "elm.padding.icon1.right"; + to_y: "original_edc_cliprect"; } - rel2.to_x: "elm.edit.icon.1"; - align: 0.0 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; + rel2 { to: "original_edc_cliprect"; } } } + part { name: "elm.padding.icon2.left"; type: RECT; scale: 1; @@ -1048,14 +1058,14 @@ source: "elm"; action: STATE_SET "disabled" 0.0; target: "elm.edit.icon.2"; - target: "elm.padding.icon1.right"; + target: "elm.padding.icon1.right"; after: "enable_rename_mode_next"; } program { name: "enable_rename_mode_next"; action: STATE_SET "renamed" 0.0; //transition: DECELERATE 0.5; - target: "original_edc"; + target: "original_edc_cliprect"; } program { name: "disable_rename_mode"; @@ -1063,7 +1073,7 @@ source: "elm"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; - target: "original_edc"; + target: "original_edc_cliprect"; target: "elm.edit.icon.2"; } } -- 2.7.4