nikawhite pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=700260160e5161db7e369d181af793f970f53d87

commit 700260160e5161db7e369d181af793f970f53d87
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Tue Aug 9 17:09:37 2016 +0300

    genlist.edc: fix the label suize for property
    
    Now property text show without elipsis.
    
    @fix
    Fixes T4058
    
    Change-Id: I4edacf23410462718c052c5470eecb9fd6bd16fb
---
 data/themes/default/widgets/genlist_property.edc | 57 +++++++++++++-----------
 1 file changed, 31 insertions(+), 26 deletions(-)

diff --git a/data/themes/default/widgets/genlist_property.edc 
b/data/themes/default/widgets/genlist_property.edc
index c9edeac..78c350f 100644
--- a/data/themes/default/widgets/genlist_property.edc
+++ b/data/themes/default/widgets/genlist_property.edc
@@ -127,7 +127,8 @@ group { name: "elm/genlist/tree/caption/property";
                offset: 6 0;
             }
             rel2 {
-               to_x: "elm.swallow.pad";
+               to_x: "arrow";
+               relative: 0.0 1.0;
             }
             align: 0.0 0.5;
             min: 0 2;
@@ -201,7 +202,7 @@ group { name: "elm/genlist/tree/caption/property";
             color_class: "main";
             rel1 {
                relative: 1.0 0.0;
-               offset: 3 0;
+               offset: 12 0;
                to_x: "elm.swallow.pad";
             }
             image {
@@ -215,7 +216,7 @@ group { name: "elm/genlist/tree/caption/property";
             color_class: "main";
             rel1 {
                relative: 1.0 0.0;
-               offset: 3 0;
+               offset: 12 0;
                to_x: "elm.swallow.pad";
             }
             image {
@@ -313,11 +314,13 @@ group { name: "elm/genlist/item/1swallow/property";
             color_class: "main";
             rel1 {
                relative: 1.0 0.0;
-               offset: 6 6;
+               offset: 6 0;
                to_x: "swallow.icon";
+               to_y: "swallow.action1";
             }
             rel2 {
-               relative: 0.3 1.0;
+               to_x: "text.action1.name";
+               relative: 0.0 1.0;
                offset: -7 -1;
             }
             text {
@@ -335,8 +338,9 @@ group { name: "elm/genlist/item/1swallow/property";
          type: TEXT;
          description { state: "default" 0.0;
             color_class: "main";
+            align: 1.0 0.5;
             rel1 {
-               offset: 0 6;
+               to_y: "swallow.action1";
             }
             rel2 {
                to_x: "swallow.action1";
@@ -346,7 +350,10 @@ group { name: "elm/genlist/item/1swallow/property";
             text {
                font: FN;
                size: 12;
+               min: 1 0;
+               max: 1 0;
                align: 1.0 0.0;
+               ellipsis: -1;
             }
          }
       }
@@ -388,16 +395,6 @@ group { name: "elm/genlist/item/1swallow/property";
 
 group { name: "elm/genlist/item/1swallow_wide/property";
    inherit: "elm/genlist/item/1swallow/property";
-   parts {
-      part { name: "swallow.action1";
-         description { state: "default" 0.0;
-            rel1 {
-               to_x: "text.item.name";
-               relative: 0.0 0.0;
-            }
-         }
-      }
-   }
 }
 
 group { name: "elm/genlist/item/2swallow/property";
@@ -448,12 +445,15 @@ group { name: "elm/genlist/item/2swallow/property";
             color_class: "main";
             rel1 {
                relative: 1.0 0.0;
-               offset: 6 6;
+               offset: 6 0;
                to_x: "swallow.icon";
+               to_y: "swallow.action1";
             }
             rel2 {
-               relative: 0.3 1.0;
+               relative: 0.0 1.0;
                offset: -7 -1;
+               to_x: "text.action1.name";
+               to_y: "swallow.action1";
             }
             text {
                font: FN;
@@ -470,11 +470,13 @@ group { name: "elm/genlist/item/2swallow/property";
          type: TEXT;
          description { state: "default" 0.0;
             color_class: "main";
+            align: 1.0 0.5;
             rel1 {
-               offset: 0 6;
+               to_y: "swallow.action1";
             }
             rel2 {
                to_x: "swallow.action1";
+               to_y: "swallow.action1";
                relative: 0.0 1.0;
                offset: -4 -1;
             }
@@ -482,8 +484,9 @@ group { name: "elm/genlist/item/2swallow/property";
                font: FN;
                size: 12;
                min: 1 0;
-               elipsis: -1;
+               max: 1 0;
                align: 1.0 0.0;
+               elipsis: -1;
             }
          }
       }
@@ -509,10 +512,11 @@ group { name: "elm/genlist/item/2swallow/property";
          description { state: "default" 0.0;
             color_class: "main";
             rel1 {
-               to_x: "swallow.action1";
+               to: "swallow.action1";
                relative: 1.0 0.0;
-               offset: 3 6;
+               offset: 3 0;
             }
+            rel2.to_y: "swallow.action1";
             text {
                font: FN;
                size: 12;
@@ -527,10 +531,10 @@ group { name: "elm/genlist/item/2swallow/property";
          description { state: "default" 0.0;
             color_class: "main";
             rel1 {
-               offset: 0 6;
+               to_y: "swallow.action2";
             }
             rel2 {
-               to_x: "swallow.action2";
+               to: "swallow.action2";
                relative: 0.0 1.0;
                offset: -4 -1;
             }
@@ -564,10 +568,11 @@ group { name: "elm/genlist/item/2swallow/property";
          description { state: "default" 0.0;
             color_class: "main";
             rel1 {
-               to_x: "swallow.action2";
+               to: "swallow.action2";
                relative: 1.0 0.0;
-               offset: 3 6;
+               offset: 3 0;
             }
+            rel2.to_y: "swallow.action2";
             text {
                font: FN;
                size: 12;

-- 


Reply via email to