rimmed pushed a commit to branch master.

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

commit cc69ec3b0f5c46c374789850f34a93e0e9835cc5
Author: Vyacheslav Reutskiy <[email protected]>
Date:   Mon Jul 27 09:06:02 2015 +0300

    Styles: make property/1swallow layout more light for calc
    
    Change-Id: I0ae91da7ed549d5f37a0c16a4f4af1a652534af6
---
 data/themes/default/widgets/layouts/property.edc | 58 +++++-------------------
 1 file changed, 12 insertions(+), 46 deletions(-)

diff --git a/data/themes/default/widgets/layouts/property.edc 
b/data/themes/default/widgets/layouts/property.edc
index a0f3bb7..8b30e88 100644
--- a/data/themes/default/widgets/layouts/property.edc
+++ b/data/themes/default/widgets/layouts/property.edc
@@ -1,66 +1,33 @@
 group { name: "elm/layout/property/1swallow";
    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";
+      part { name: "area.base";
          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 6;
             }
             rel2 {
-               relative: 0.4 1.0;
-               to: "area.content";
+               offset: -1 -7;
             }
          }
       }
       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 {
-               to: "area.text";
+               to_y: "area.base";
             }
             rel2 {
-               to: "area.text";
+               relative: 0.4 1.0;
+               to_y: "area.base";
             }
             text {
-               font: PT;
+               font: "PT";
                size: 12;
-               max: 1 1;
+               align: 0.0 0.5;
             }
          }
       }
@@ -68,13 +35,12 @@ group { name: "elm/layout/property/1swallow";
          type: SWALLOW;
          description { state: "default" 0.0;
             rel1 {
-               relative: 1.0 0.0;
+               relative: 0.4 0.0;
                offset: 3 0;
-               to_x: "area.text";
-               to_y: "area.content";
+               to_y: "area.base";
             }
             rel2 {
-               to: "area.content";
+               to_y: "area.base";
             }
          }
       }

-- 


Reply via email to