[editfield] entry's left margin sets as offset, so editfield's TEXTBLOCK part should...
authorWooHyun Jung <wh0705.jung@samsung.com>
Wed, 26 Oct 2011 05:06:32 +0000 (14:06 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Wed, 26 Oct 2011 05:06:32 +0000 (14:06 +0900)
themes/groups/editfield.edc

index fadb42f..d9b53fa 100644 (file)
@@ -178,26 +178,6 @@ group { name: "elm/editfield/base/default";
          }
       }
       part {
-         name: "left3";
-         type: RECT;
-         ignore_flags: ON_HOLD;
-         description {
-            state: "default" 0.0;
-            visible: 0;
-            min: EDITFIELD_DEFAULT_LEFT3_INC 0;
-            fixed: 1 1;
-            align: 0 0;
-            rel1 {
-               to: "elm.swallow.content";
-               relative: 0.0 0.0;
-            }
-            rel2 {
-               to: "elm.swallow.content";
-               relative: 0.0 1.0;
-            }
-         }
-      }
-      part {
          name: "right1";
          type: RECT;
          scale: 1;
@@ -354,9 +334,8 @@ group { name: "elm/editfield/base/default";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -386,9 +365,8 @@ group { name: "elm/editfield/base/default";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -419,9 +397,8 @@ group { name: "elm/editfield/base/default";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -784,27 +761,6 @@ group { name: "elm/editfield/base/searchbar";
          }
       }
       part {
-         name: "left3";
-         type: RECT;
-         scale: 1;
-         ignore_flags: ON_HOLD;
-         description {
-            state: "default" 0.0;
-            visible: 0;
-            min: EDITFIELD_SEARCHBAR_LEFT3_INC 0;
-            fixed: 1 1;
-            align: 0 0;
-            rel1 {
-               to: "elm.swallow.content";
-               relative: 0.0 0.0;
-            }
-            rel2 {
-               to: "elm.swallow.content";
-               relative: 0.0 1.0;
-            }
-         }
-      }
-      part {
          name: "right1";
          type: RECT;
          scale: 1;
@@ -961,9 +917,8 @@ group { name: "elm/editfield/base/searchbar";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -993,9 +948,8 @@ group { name: "elm/editfield/base/searchbar";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -1026,9 +980,8 @@ group { name: "elm/editfield/base/searchbar";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -1422,27 +1375,6 @@ group { name: "elm/editfield/base/font_color_black";
          }
       }
       part {
-         name: "left3";
-         type: RECT;
-         scale: 1;
-         ignore_flags: ON_HOLD;
-         description {
-            state: "default" 0.0;
-            visible: 0;
-            min: EDITFIELD_DEFAULT_LEFT3_INC 0;
-            fixed: 1 1;
-            align: 0 0;
-            rel1 {
-               to: "elm.swallow.content";
-               relative: 0.0 0.0;
-            }
-            rel2 {
-               to: "elm.swallow.content";
-               relative: 0.0 1.0;
-            }
-         }
-      }
-      part {
          name: "right1";
          type: RECT;
          scale: 1;
@@ -1599,9 +1531,8 @@ group { name: "elm/editfield/base/font_color_black";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -1631,9 +1562,8 @@ group { name: "elm/editfield/base/font_color_black";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -1664,9 +1594,8 @@ group { name: "elm/editfield/base/font_color_black";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -2028,27 +1957,6 @@ group { name: "elm/editfield/base/searchbar/font_color_black";
          }
       }
       part {
-         name: "left3";
-         type: RECT;
-         scale: 1;
-         ignore_flags: ON_HOLD;
-         description {
-            state: "default" 0.0;
-            visible: 0;
-            min: EDITFIELD_SEARCHBAR_LEFT3_INC 0;
-            fixed: 1 1;
-            align: 0 0;
-            rel1 {
-               to: "elm.swallow.content";
-               relative: 0.0 0.0;
-            }
-            rel2 {
-               to: "elm.swallow.content";
-               relative: 0.0 1.0;
-            }
-         }
-      }
-      part {
          name: "right1";
          type: RECT;
          scale: 1;
@@ -2205,9 +2113,8 @@ group { name: "elm/editfield/base/searchbar/font_color_black";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -2237,9 +2144,8 @@ group { name: "elm/editfield/base/searchbar/font_color_black";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {
@@ -2270,9 +2176,8 @@ group { name: "elm/editfield/base/searchbar/font_color_black";
             visible: 0;
             fixed: 1 1;
             rel1 {
-               to_x: "left3";
-               to_y: "elm.swallow.content";
-               relative: 1.0 0.0;
+               to: "elm.swallow.content";
+               offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
             }
             rel2.to: "elm.swallow.content";
             text {