rimmed pushed a commit to branch master.

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

commit 3b5bc0a76520e94d65c696585a15710487c91b57
Author: Tetiana Naumenko <t.naume...@samsung.com>
Date:   Wed May 17 18:01:52 2017 +0300

    theme: made layout for tab_home/default scalable
    
    Change-Id: I4cba85a03d900e09d8625781799f470731a9b7e9
---
 data/themes/default/widgets/layouts/tabs.edc | 50 ++++++++++++++++++++++++----
 1 file changed, 44 insertions(+), 6 deletions(-)

diff --git a/data/themes/default/widgets/layouts/tabs.edc 
b/data/themes/default/widgets/layouts/tabs.edc
index eeadd66..a08ba2d 100644
--- a/data/themes/default/widgets/layouts/tabs.edc
+++ b/data/themes/default/widgets/layouts/tabs.edc
@@ -157,6 +157,7 @@ group { name: "elm/layout/tab_home/default";
    parts {
       part { name: "bg";
          type: RECT;
+         scale: 1;
          description { state: "default" 0.0;
             color_class: "bg_scroller";
             rel1 {
@@ -167,25 +168,50 @@ group { name: "elm/layout/tab_home/default";
             }
          }
       }
+      part { name: "left_border_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 0.00 0.00;
+            max: 135 -1;
+            rel1 {
+               relative: 1.00 1.00;
+               to: "left_toolbar_space";
+            }
+         }
+      }
+      part { name: "right_border_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 1.00 1.00;
+            fixed: 1 1;
+            min: 4 4;
+            max: 4 4;
+            rel1.relative: 1.00 0.00;
+         }
+      }
       part { name: "border";
          type: IMAGE;
+         scale: 1;
          description { state: "default" 0.0;
             image {
                normal: "section-border.png";
                border: 10 10 10 11;
             }
-            rel1 {
-               relative: 1.0 0.0;
-               to: "elm.swallow.toolbar";
-               offset: -1 0;
+            rel1{
+               relative: 1.00 0.00;
+               to: "left_border_space";
             }
             rel2 {
-               offset: -4 -4;
+               relative: 0.00 0.00;
+               to: "right_border_space";
             }
          }
       }
       part { name: "elm.swallow.content";
          type: SWALLOW;
+         scale: 1;
          description { state: "default" 0.0;
             rel1 {
                to: "border";
@@ -197,13 +223,25 @@ group { name: "elm/layout/tab_home/default";
             }
          }
       }
+      part { name: "left_toolbar_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 0.00 0.00;
+            fixed: 1 1;
+            min: 3 3;
+            max: 3 3;
+         }
+      }
       part { name: "elm.swallow.toolbar";
          type: SWALLOW;
+         scale: 1;
          description { state: "default" 0.0;
             max: 136 -1;
             align: 0.0 0.0;
             rel1 {
-               offset: 3 3;
+               to: "left_toolbar_space";
+               relative: 1.00 1.00;
             }
          }
       }

-- 


Reply via email to