nikawhite pushed a commit to branch master.

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

commit d3403b8bed5f7a2440966c6e363e6d18a20f5fde
Author: Tetiana Naumenko <t.naume...@samsung.com>
Date:   Wed May 31 13:31:22 2017 +0300

    theme: change offsets in group genlist/item/1swallow/property to spacers
    
    Change-Id: Ib4e629577bc94003f9565fbf123761a85cdfbb9c
---
 data/themes/default/widgets/genlist_property.edc | 79 +++++++++++++++++++-----
 1 file changed, 64 insertions(+), 15 deletions(-)

diff --git a/data/themes/default/widgets/genlist_property.edc 
b/data/themes/default/widgets/genlist_property.edc
index 6e97d0e08..2d3b1e704 100644
--- a/data/themes/default/widgets/genlist_property.edc
+++ b/data/themes/default/widgets/genlist_property.edc
@@ -305,13 +305,27 @@ group { name: "elm/genlist/item/1swallow/property";
             aspect: 1.0 1.0;
             aspect_preference: VERTICAL;
             rel1 {
-               relative: 1.0 0.0;
-               offset: 0 3;
+               relative: 1.0 1.0;
                to_x: "elm.swallow.pad";
+               to_y: "top_space";
             }
             rel2 {
-               relative: 0.0 1.0;
-               offset: -1 -4;
+               relative: 0.0 0.0;
+               to_y: "bottom_right_space";
+            }
+         }
+      }
+      part { name: "top_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 0.0 0.0;
+            fixed: 1 1;
+            min: 6 3;
+            max: 6 3;
+            rel1 {
+               relative: 1.0 0.0;
+               to_x: "swallow.icon";
             }
          }
       }
@@ -323,15 +337,12 @@ group { name: "elm/genlist/item/1swallow/property";
             min: 0 22;
             color_class: "main";
             rel1 {
-               relative: 1.0 0.0;
-               offset: 6 0;
-               to_x: "swallow.icon";
-               to_y: "swallow.action1";
+               relative: 1.0 1.0;
+               to: "top_space";
             }
             rel2 {
-               to_x: "text.action1.name";
+               to_x: "text_space";
                relative: 0.0 1.0;
-               offset: -7 -1;
             }
             text {
                font: FN;
@@ -344,6 +355,20 @@ group { name: "elm/genlist/item/1swallow/property";
             text.font: FN_B;
          }
       }
+      part { name: "text_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 1.0 0.5;
+            fixed: 1 0;
+            min: 6 0;
+            max: 6 -1;
+            rel2 {
+               relative: 0.0 1.0;
+               to: "text.action1.name";
+            }
+         }
+      }
       part { name: "text.action1.name";
          type: TEXT;
          scale: 1;
@@ -354,9 +379,8 @@ group { name: "elm/genlist/item/1swallow/property";
                to_y: "swallow.action1";
             }
             rel2 {
-               to_x: "swallow.action1";
+               to_x: "action_space";
                relative: 0.0 1.0;
-               offset: -4 -1;
             }
             text {
                font: FN;
@@ -368,19 +392,44 @@ group { name: "elm/genlist/item/1swallow/property";
             }
          }
       }
+      part { name: "action_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 1.0 0.5;
+            fixed: 1 0;
+            min: 3 0;
+            max: 3 -1;
+            rel2 {
+               relative: 0.0 1.0;
+               to: "swallow.action1";
+            }
+         }
+      }
       part { name: "swallow.action1";
          type: SWALLOW;
          scale: 1;
          description { state: "default" 0.0;
             rel1 {
-               relative: 0.4 0.0;
-               offset: 0 3;
+               relative: 0.4 1.0;
+               to_y: "top_space";
             }
             rel2 {
-               offset: -7 -4;
+               relative: 0.0 0.0;
+               to: "bottom_right_space";
             }
          }
       }
+      part { name: "bottom_right_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 1.0 1.0;
+            fixed: 1 1;
+            min: 6 3;
+            max: 6 3;
+         }
+      }
       part { name: "disclip";
          type: RECT;
          scale: 1;

-- 


Reply via email to