rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=4c29a0a75a6bc18c8ed5b8101391471bfb54ca5d
commit 4c29a0a75a6bc18c8ed5b8101391471bfb54ca5d Author: Tetiana Naumenko <[email protected]> Date: Wed May 31 12:20:39 2017 +0300 theme: made popup with 1 button scalable 1. Made popup/buttons1/popup/default scalable 2. Change offsets in group notify/center/popup/default to spasers Change-Id: I8d701803413f9808ecde9f721bf134374df01a6d --- data/themes/default/widgets/popup.edc | 48 +++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/data/themes/default/widgets/popup.edc b/data/themes/default/widgets/popup.edc index ed4adc150..4479abb54 100644 --- a/data/themes/default/widgets/popup.edc +++ b/data/themes/default/widgets/popup.edc @@ -68,20 +68,42 @@ group { name: "elm/notify/center/popup/default"; } } } + part { name: "top_left_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + min: 27 21; + max: 27 21; + rel1.to: "pop"; + } + } part { name: "elm.swallow.content"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { - to: "pop"; - offset: 27 21; + relative: 1.0 1.0; + to: "top_left_space"; } rel2 { - to: "pop"; - offset: -28 -22; + relative: 0.0 0.0; + to: "bottom_right_space"; } } } + part { name: "bottom_right_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + min: 27 21; + max: 27 21; + rel2.to: "pop"; + } + } } } @@ -611,15 +633,25 @@ group { name: "elm/popup/buttons1/popup/default"; align: 1.0 0.5; fixed: 1 1; rel1 { - relative: 1.0 0.5; - offset: -12 0; + relative: 0.0 0.5; + to_x: "right_space"; } rel2 { - relative: 1.0 0.5; - offset: -13 -1; + relative: 0.0 0.5; + to_x: "right_space"; } } } + part { name: "right_space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 0; + min: 12 0; + max: 12 -1; + } + } } } --
