[genlist] realign genlist dialogue edit style
authorHyoyoung Chang <hyoyoung.chang@samsung.com>
Fri, 7 Oct 2011 09:06:00 +0000 (18:06 +0900)
committerHyoyoung Chang <hyoyoung.chang@samsung.com>
Fri, 7 Oct 2011 09:06:00 +0000 (18:06 +0900)
themes/groups/genlist/genlist_edit.edc

index 262e792..a7113dd 100644 (file)
              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 {
               align: 0.0 0.0;
            }
         }
-
         part { name: "elm.edit.icon.1";
             clip_to: "disclip";
             type: SWALLOW;
                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 {
                }
             }
          }
-         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;
             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";
             source:  "elm";
             action:  STATE_SET "default" 0.0;
             transition: DECELERATE 0.5;
-            target:  "original_edc";
+            target:  "original_edc_cliprect";
             target:  "elm.edit.icon.2";
         }
       }