From 9edb7327105d2108f1f4b71a181cc83251a5d1d8 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Wed, 26 Oct 2011 14:06:32 +0900 Subject: [PATCH] [editfield] entry's left margin sets as offset, so editfield's TEXTBLOCK part should follow that --- themes/groups/editfield.edc | 143 ++++++++------------------------------------ 1 file changed, 24 insertions(+), 119 deletions(-) diff --git a/themes/groups/editfield.edc b/themes/groups/editfield.edc index fadb42f..d9b53fa 100644 --- a/themes/groups/editfield.edc +++ b/themes/groups/editfield.edc @@ -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 { -- 2.7.4