From: Shinwoo Kim Date: Tue, 28 Jun 2011 04:59:46 +0000 (+0900) Subject: [popup] add left, right padding to elm.swallow.title and icon X-Git-Tag: submit/2.0alpha-wayland/20121130.000903~698 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e25f792ad41faeb81ce6b50e37d4fcd2e06ff49;p=profile%2Fivi%2Fefl-theme-tizen.git [popup] add left, right padding to elm.swallow.title and icon Change-Id: I7954b03ad00c47d0542805ec2a2930cdfafedcc7 --- diff --git a/themes/groups/popup.edc b/themes/groups/popup.edc index 08adf4e..a34fc6f 100644 --- a/themes/groups/popup.edc +++ b/themes/groups/popup.edc @@ -233,6 +233,30 @@ group { name: "elm/popup/base/default"; visible: 1; } } + part { name: "left_pad"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + fixed : 1 1; + align: 0.0 0.0; + visible: 0; + rel1.to: "elm.rect.title"; + } + } + part { name: "right_pad"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + fixed : 1 1; + align: 1.0 1.0; + visible: 0; + rel2.to: "elm.rect.title"; + } + } part { name: "elm.swallow.title.icon"; type: SWALLOW; scale: 1; @@ -241,14 +265,8 @@ group { name: "elm/popup/base/default"; max: 48 48; fixed: 1 1; align: 0.0 0.5; - rel1 { - to: "elm.rect.title"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.rect.title"; - relative: 1.0 1.0; - } + rel1 { relative: 1.0 0.0; to: "left_pad"; } + rel2 { relative: 0.0 1.0; to: "right_pad"; } visible: 0; } description { state: "show_title_icon" 0.0; @@ -270,8 +288,8 @@ group { name: "elm/popup/base/default"; } color: POPUP_DEFAULT_TITLE_TEXT_COLOR_INC; visible:0; - rel1 { relative: 0.0 0.0; to: "elm.rect.title"; } - rel2 { relative: 1.0 1.0; to: "elm.rect.title"; } + rel1 { relative: 1.0 0.0; to: "left_pad"; } + rel2 { relative: 0.0 1.0; to: "right_pad"; } align: 0.5 0.5; } description { state: "show_title" 0.0;