rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=d4a3a5cff1a93b3a47d803a60809622227d3cc2d
commit d4a3a5cff1a93b3a47d803a60809622227d3cc2d Author: Tetiana Naumenko <[email protected]> Date: Thu May 25 17:34:22 2017 +0300 theme: made history buttons undo and redo scalable Change-Id: I70f30374025d257631fe416fd0cfac8efe6b054b --- data/themes/default/widgets/button.edc | 7 +++++++ data/themes/default/widgets/layouts/history.edc | 23 ++++++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/data/themes/default/widgets/button.edc b/data/themes/default/widgets/button.edc index cb2f84a4a..34f7f8e06 100644 --- a/data/themes/default/widgets/button.edc +++ b/data/themes/default/widgets/button.edc @@ -1474,6 +1474,7 @@ group { name: "elm/button/base/undo"; parts { part { name: "icon"; type: IMAGE; + scale: 1; description { state: "default" 0.0; fixed: 1 1; min: 20 20; @@ -1496,6 +1497,7 @@ group { name: "elm/button/base/undo"; } part { name: "event"; type: RECT; + scale: 1; description { state: "default" 0.0; color: 0 0 0 0; } @@ -1583,6 +1585,7 @@ group { name: "elm/button/base/redo"; parts { part { name: "icon"; type: IMAGE; + scale: 1; description { state: "default" 0.0; fixed: 1 1; min: 20 20; @@ -1605,6 +1608,7 @@ group { name: "elm/button/base/redo"; } part { name: "event"; type: RECT; + scale: 1; description { state: "default" 0.0; color: 0 0 0 0; } @@ -1692,6 +1696,7 @@ group { name: "elm/button/base/hoversel_vertical/history"; parts { part { name: "arrow"; type: IMAGE; + scale: 1; clip_to: "disabler"; description { state: "default" 0.0; fixed: 1 1; @@ -1706,6 +1711,7 @@ group { name: "elm/button/base/hoversel_vertical/history"; } part { name: "expand.btn"; type: RECT; + scale: 1; description { state: "default" 0.0; color: 0 0 0 0; } @@ -1716,6 +1722,7 @@ group { name: "elm/button/base/hoversel_vertical/history"; } part { name: "disabler"; type: RECT; + scale: 1; description { state: "default" 0.0; } description { state: "active" 0.0; diff --git a/data/themes/default/widgets/layouts/history.edc b/data/themes/default/widgets/layouts/history.edc index 9f78e6db0..100a55cd0 100644 --- a/data/themes/default/widgets/layouts/history.edc +++ b/data/themes/default/widgets/layouts/history.edc @@ -49,6 +49,7 @@ group { name: "elm/layout/history/control"; parts { part { name: "button"; type: SWALLOW; + scale: 1; description { state: "default" 0.0; min: 20 20; max: 20 20; @@ -56,8 +57,24 @@ group { name: "elm/layout/history/control"; align: 0 0.5; } } + part { name: "space"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: 3 0; + max: 3 -1; + rel1 { + relative: 1.0 0.0; + to: "button"; + } + rel2.to: "button"; + } + } part { name: "arrow"; type: SWALLOW; + scale: 1; description { state: "default" 0.0; align: 0.0 0.5; fixed: 1 1; @@ -65,10 +82,9 @@ group { name: "elm/layout/history/control"; max: 9 9; rel1 { relative: 1.0 0.0; - offset: 3 0; - to: "button"; + to: "space"; } - rel2.to: "button"; + rel2.to: "space"; } } } @@ -78,6 +94,7 @@ group { name: "elm/layout/history/combobox"; parts { part { name: "spacer"; type: SPACER; + scale: 1; description { state: "default" 0.0; fixed: 1 1; min: 3 3; --
