rimmed pushed a commit to branch master.

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

commit 9ee25d99cd1d060eeac93d145a19b38a50d0c1a7
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Mon Jul 27 12:12:43 2015 +0300

    Styles: make property/2swallow_pad layout more light for calc
    
    Change-Id: Ia2c35c625dd8261d4555a73cd99987847c64d074
---
 data/themes/default/widgets/layouts/property.edc | 64 ++++++------------------
 1 file changed, 16 insertions(+), 48 deletions(-)

diff --git a/data/themes/default/widgets/layouts/property.edc 
b/data/themes/default/widgets/layouts/property.edc
index a467bd2..5b798f9 100644
--- a/data/themes/default/widgets/layouts/property.edc
+++ b/data/themes/default/widgets/layouts/property.edc
@@ -312,49 +312,16 @@ group { name: "elm/layout/property/2swallow";
 
 group { name: "elm/layout/property/2swallow_pad";
    parts {
-      part { name: "padding.top";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            align: 0.5 0.0;
-            min: 0 6;
-            max: -1 6;
-         }
-      }
-      part { name: "padding.bottom";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            align: 0.5 1.0;
-            min: 0 6;
-            max: -1 6;
-         }
-      }
       part { name: "area.content";
          type: SPACER;
          description { state: "default" 0.0;
             min: 0 19;
             max: -1 19;
             rel1 {
-               relative: 0.0 1.0;
-               to: "padding.top";
-            }
-            rel2 {
-               relative: 1.0 0.0;
-               to: "padding.bottom";
-            }
-         }
-      }
-      part { name: "area.text";
-         type: SPACER;
-         description { state: "default" 0.0;
-            align: 0.0 0.5;
-            rel1 {
-               to: "area.content";
+               offset: 0 3;
             }
             rel2 {
-               relative: 0.4 1.0;
-               to: "area.content";
+               offset: -1 -4;
             }
          }
       }
@@ -362,8 +329,7 @@ group { name: "elm/layout/property/2swallow_pad";
          type: SPACER;
          description { state: "default" 0.0;
             rel1 {
-               relative: 1.0 0.0;
-               to_x: "area.text";
+               relative: 0.4 0.0;
                to_y: "area.content";
             }
             rel2 {
@@ -403,31 +369,33 @@ group { name: "elm/layout/property/2swallow_pad";
             max: 13 13;
             rel1 {
                offset: 24 0;
-               to: "area.text";
+               to: "area.content";
             }
             rel2 {
-               to: "area.text";
+               to: "area.content";
             }
          }
       }
       part { name: "elm.text";
          type: TEXT;
          description { state: "default" 0.0;
-            align: 0.0 0.5;
-            color: LIGHT_GREY_FONT_COLOR;
+            color_class: "main";
             rel1 {
                relative: 1.0 0.0;
                offset: 3 0;
                to_x: "elm.swallow.content";
-               to_y: "area.text";
+               to_y: "area.content";
             }
             rel2 {
-               to: "area.text";
+               relative: 0.0 1.0;
+               offset: -3 -1;
+               to_x: "label.swallow1.start";
+               to_y: "area.content";
             }
             text {
                font: "PT";
                size: 12;
-               max: 1 1;
+               align: 0.0 0.5;
             }
          }
       }
@@ -437,7 +405,7 @@ group { name: "elm/layout/property/2swallow_pad";
             align: 1.0 0.5;
             min: 52 0;
             max: 52 -1;
-            color: LIGHT_GREY_FONT_COLOR;
+            color_class: "main";
             rel1 {
                to: "area.swallow1";
             }
@@ -473,7 +441,7 @@ group { name: "elm/layout/property/2swallow_pad";
          type: TEXT;
          description { state: "default" 0.0;
             align: 0.0 0.5;
-            color: LIGHT_GREY_FONT_COLOR;
+            color_class: "main";
             rel1 {
                relative: 1.0 0.0;
                offset: 3 0;
@@ -496,7 +464,7 @@ group { name: "elm/layout/property/2swallow_pad";
             align: 1.0 0.5;
             min: 52 0;
             max: 52 -1;
-            color: LIGHT_GREY_FONT_COLOR;
+            color_class: "main";
             rel1 {
                to: "area.swallow2";
             }
@@ -532,7 +500,7 @@ group { name: "elm/layout/property/2swallow_pad";
          type: TEXT;
          description { state: "default" 0.0;
             align: 0.0 0.5;
-            color: LIGHT_GREY_FONT_COLOR;
+            color_class: "main";
             rel1 {
                relative: 1.0 0.0;
                offset: 3 0;

-- 


Reply via email to