aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTetiana Naumenko <t.naumenko@samsung.com>2017-05-30 16:14:46 +0300
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-06-02 02:00:08 +0300
commite56908977a9c960d82bfb310f6e0e8b5e9b776b9 (patch)
treeae97937815c76a659ad6bb6dd5934aa7d94a659b
parenttheme: made shortcuts layout scalable (diff)
downloadeflete-e56908977a9c960d82bfb310f6e0e8b5e9b776b9.tar.gz
theme: made genlist item group_index scalable
Change-Id: Ida6ceb3da684dd4731af1115e7c3b991f8fc10ba
-rw-r--r--data/themes/default/widgets/genlist.edc28
1 files changed, 26 insertions, 2 deletions
diff --git a/data/themes/default/widgets/genlist.edc b/data/themes/default/widgets/genlist.edc
index e5f445057..35aed1c61 100644
--- a/data/themes/default/widgets/genlist.edc
+++ b/data/themes/default/widgets/genlist.edc
@@ -335,6 +335,7 @@ group { name: "elm/genlist/item/group_index/default";
parts {
part { name: "bg";
type: IMAGE;
+ scale: 1;
description { state: "default" 0.0;
min: 0 27;
image {
@@ -343,6 +344,16 @@ group { name: "elm/genlist/item/group_index/default";
}
}
}
+ part { name: "left_text_space";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 0;
+ min: 25 0;
+ max: 25 -1;
+ }
+ }
part { name: "elm.text";
type: TEXT;
repeat_events: 1;
@@ -350,10 +361,12 @@ group { name: "elm/genlist/item/group_index/default";
description { state: "default" 0.0;
color: 214 214 214 255;
rel1 {
- offset: 25 0;
+ relative: 1.0 0.0;
+ to: "left_text_space";
}
rel2 {
- offset: -11 -1;
+ relative: 0.0 1.0;
+ to: "right_text_space";
}
text {
font: FN;
@@ -362,8 +375,19 @@ group { name: "elm/genlist/item/group_index/default";
}
}
}
+ part { name: "right_text_space";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 0;
+ min: 10 0;
+ max: 10 -1;
+ }
+ }
part { name: "disclip";
type: RECT;
+ scale: 1;
description { state: "default" 0.0;
color: 255 255 255 0;
}