summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mobile/color_classes.edc3
-rw-r--r--mobile/widgets/layout.edc20
2 files changed, 23 insertions, 0 deletions
diff --git a/mobile/color_classes.edc b/mobile/color_classes.edc
index 6a62db9..779225b 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 319ffaf..eb509c2 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";