diff options
author | Jeonghyun Yun <jh0506.yun@samsung.com> | 2018-05-08 18:12:55 +0900 |
---|---|---|
committer | Jeonghyun Yun <jh0506.yun@samsung.com> | 2018-05-08 09:14:44 +0000 |
commit | 15956bf1aa1f3891282900d79945b3eed4c1ba8d (patch) | |
tree | 0232de182fc7b10c9dab399357cc15b5fc8763bd | |
parent | c1ecd7f17f893c45d4c9f4cf5d603e510a76dfb5 (diff) | |
download | efl-theme-tizen-mobile-15956bf1aa1f3891282900d79945b3eed4c1ba8d.tar.gz efl-theme-tizen-mobile-15956bf1aa1f3891282900d79945b3eed4c1ba8d.tar.bz2 efl-theme-tizen-mobile-15956bf1aa1f3891282900d79945b3eed4c1ba8d.zip |
layout: Add opacity to editfield layout for CSharpsubmit/tizen/20180511.082056submit/tizen/20180511.021201accepted/tizen/unified/20180514.094139
Change-Id: Ic8d63d336d739c7e853ba27f70c3eefd7ef8a40b
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
-rw-r--r-- | mobile/color_classes.edc | 3 | ||||
-rw-r--r-- | mobile/widgets/layout.edc | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/mobile/color_classes.edc b/mobile/color_classes.edc index 6a62db9f..779225b6 100644 --- a/mobile/color_classes.edc +++ b/mobile/color_classes.edc @@ -1370,6 +1370,9 @@ color_classes { color_class { "layout/editfield/bg"; color: 0 0 0 0; } + color_class { "layout/editfield/opacity"; // Csharp Opacity Property + color: 255 255 255 255; + } color_class { "layout/editfield/underline"; color: 128 128 128 166; } diff --git a/mobile/widgets/layout.edc b/mobile/widgets/layout.edc index 319ffafa..eb509c2a 100644 --- a/mobile/widgets/layout.edc +++ b/mobile/widgets/layout.edc @@ -671,8 +671,14 @@ group { "elm/layout/searchbar/cancel_button"; group { "elm/layout/editfield/singleline"; parts { + rect { "clipper"; + desc { "default"; + color_class: "layout/editfield/opacity"; + } + } rect { "bg"; scale; + clip: "clipper"; desc { "default"; min: 0 EDITFIELD_BG_HEIGHT_INC; color_class: "layout/editfield/bg"; @@ -680,6 +686,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_top_left"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_PADDING_TOP_LEFT_MIN_INC; fixed: 1 1; @@ -692,6 +699,7 @@ group { "elm/layout/editfield/singleline"; spacer { "padding_bottom_right"; type: SPACER; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_PADDING_BOTTOM_RIGHT_MIN_INC; fixed: 1 1; @@ -703,6 +711,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_line_left"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_PADDING_LINE_LEFT_MIN_INC; fixed: 1 0; @@ -714,6 +723,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_line_right"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_PADDING_LINE_RIGHT_MIN_INC; fixed: 1 0; @@ -725,6 +735,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_line_bottom"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_PADDING_LINE_BOTTOM_MIN_INC; fixed: 0 1; @@ -736,6 +747,7 @@ group { "elm/layout/editfield/singleline"; } rect { "line_rect"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_LINE_RECT_MIN_INC; fixed: 1 1; @@ -759,6 +771,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_elm.swallow.button_right"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_PADDING_ELM_SWALLOW_BUTTON_RIGHT_MIN_INC; fixed: 1 0; @@ -772,6 +785,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "sizer_elm.swallow.button"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_ELM_SWALLOW_BUTTON_MIN_INC; fixed: 1 1; @@ -790,6 +804,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_elm.swallow.button_left"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_PADDING_ELM_SWALLOW_CONTENT_LEFT_MIN_INC; fixed: 1 0; @@ -808,6 +823,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_elm.swallow.content_left"; scale; + clip: "clipper"; desc { "default"; fixed: 1 0; min: EDITFIELD_PADDING_ELM_SWALLOW_CONTENT_LEFT_MIN_INC; @@ -825,6 +841,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "padding_elm.swallow.content_right"; scale; + clip: "clipper"; desc { "default"; fixed: 1 0; min: EDITFIELD_PADDING_ELM_SWALLOW_CONTENT_RIGHT_MIN_INC; @@ -842,6 +859,7 @@ group { "elm/layout/editfield/singleline"; } spacer { "sizer_elm.swallow.content"; scale; + clip: "clipper"; desc { "default"; min: EDITFIELD_ELM_SWALLOW_CONTENT_MIN_INC; rel1 { @@ -864,6 +882,7 @@ group { "elm/layout/editfield/singleline"; } swallow { "elm.swallow.content"; scale; + clip: "clipper"; desc { "default"; align: EDITFIELD_ELM_SWALLOW_CONTENT_ALIGN; rel.to: "sizer_elm.swallow.content"; @@ -871,6 +890,7 @@ group { "elm/layout/editfield/singleline"; } swallow { "elm.swallow.button"; scale; + clip: "clipper"; desc { "default"; fixed: 1 0; rel.to: "sizer_elm.swallow.button"; |