From: Youngbok Shin Date: Fri, 31 May 2013 12:55:47 +0000 (+0900) Subject: [entry] Add paddings of button swallows. X-Git-Tag: submit/tizen_2.2/20130714.144922~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27dc24bd3e1d2daa7d27f88f738914100f35f28b;p=framework%2Fuifw%2Fefl-theme-tizen.git [entry] Add paddings of button swallows. --- diff --git a/themes/widgets/entry.edc b/themes/widgets/entry.edc index 17a29ff..c718c42 100644 --- a/themes/widgets/entry.edc +++ b/themes/widgets/entry.edc @@ -47,8 +47,8 @@ } \ description { state: "rename_visible" 0.0; \ inherit: "default" 0.0; \ - min: 5 0; \ - max: 5 0; \ + min: 9 0; \ + max: 9 0; \ rel1 { \ to_x: "elm.swallow.rename"; \ relative: 0.0 0.0; \ @@ -60,8 +60,8 @@ } \ description { state: "clear_visible" 0.0; \ inherit: "default" 0.0; \ - min: 5 0; \ - max: 5 0; \ + min: 9 0; \ + max: 9 0; \ rel1 { \ to_x: "elm.swallow.clear"; \ relative: 0.0 0.0; \ @@ -5262,8 +5262,8 @@ group { name: "elm/scroller/entry/default"; } description { state: "rename_visible" 0.0; inherit: "default" 0.0; - min: 5 0; - max: 5 0; + min: 9 0; + max: 9 0; rel1 { to_x: "elm.swallow.rename"; relative: 0.0 0.0; @@ -5276,8 +5276,8 @@ group { name: "elm/scroller/entry/default"; description { state: "clear_visible" 0.0; inherit: "default" 0.0; align: 1.0 1.0; - min: 5 0; - max: 5 0; + min: 9 0; + max: 9 0; rel1 { to_x: "elm.swallow.clear"; relative: 0.0 0.0; @@ -5293,7 +5293,7 @@ group { name: "elm/scroller/entry/default"; mouse_events: 0; clip_to: "clipper"; description { state: "default" 0.0; - rel1.to: "elm.swallow.icon"; + rel1.to: "icon_right_padding"; rel1.relative: 1.0 0.0; rel2.to: "editfield_space"; rel2.relative: 0.0 1.0; @@ -5328,6 +5328,29 @@ group { name: "elm/scroller/entry/default"; visible: 1; } } + part { name: "icon_right_padding"; + type: SPACER; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + min: 0 0; + max: 0 0; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: 8 0; + max: 8 0; + } + } part { name: "elm.swallow.clear"; type: SWALLOW; clip_to: "clipper"; @@ -5400,7 +5423,7 @@ group { name: "elm/scroller/entry/default"; type: SWALLOW; description { state: "default" 0.0; rel1 { - to: "elm.swallow.icon"; + to_x: "icon_right_padding"; relative: 1.0 0.0; } rel2 { @@ -5558,12 +5581,14 @@ group { name: "elm/scroller/entry/default"; source: "elm"; action: STATE_SET "visible" 0.0; target: "elm.swallow.icon"; + target: "icon_right_padding"; } program { name: "icon_hide"; signal: "elm,action,hide,icon"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.swallow.icon"; + target: "icon_right_padding"; } program { name: "clear_show"; signal: "elm,state,clear,visible";