rimmed pushed a commit to branch master.

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

commit 4baf5142c893118f205e880b6b2d7efa1411488c
Author: Tetiana Naumenko <t.naume...@samsung.com>
Date:   Thu May 18 18:27:47 2017 +0300

    theme: made layout for tab_home/open_project scalable
    
    Change-Id: I7ca0a0469dc8df0dbc393eb0d6c5047c30926b6b
---
 data/themes/default/widgets/layouts/tabs.edc | 60 ++++++++++++++++++++++++----
 1 file changed, 53 insertions(+), 7 deletions(-)

diff --git a/data/themes/default/widgets/layouts/tabs.edc 
b/data/themes/default/widgets/layouts/tabs.edc
index a08ba2d..300ea23 100644
--- a/data/themes/default/widgets/layouts/tabs.edc
+++ b/data/themes/default/widgets/layouts/tabs.edc
@@ -252,6 +252,7 @@ group { name: "elm/layout/tab_home/open_project";
    parts {
       part { name: "area.recent";
          type: SPACER;
+         scale: 1;
          description { state: "default" 0.0;
             min: 300 0;
             max: 300 -1;
@@ -260,6 +261,7 @@ group { name: "elm/layout/tab_home/open_project";
       }
       part { name: "elm.swallow.btn_clear";
          type: SWALLOW;
+         scale: 1;
          description {
             align: 1.0 0.0;
             fixed: 1 1;
@@ -273,12 +275,27 @@ group { name: "elm/layout/tab_home/open_project";
             }
          }
       }
+      part { name: "left_text_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 0.00 0.00;
+            fixed: 1 0;
+            min: 8 0;
+            max: 8 -1;
+            rel1 {
+               to: "area.recent";
+               relative: 0.0 0.0;
+            }
+         }
+      }
       part { name: "elm.text.recent";
          type: TEXT;
+         scale: 1;
          description {
             rel1 {
-               to: "area.recent";
-               offset: 8 0;
+               to: "left_text_space";
+               relative: 1.0 0.0;
             }
             rel2.to: "area.recent";
             align: 0.0 0.0;
@@ -291,33 +308,62 @@ group { name: "elm/layout/tab_home/open_project";
             }
          }
       }
-      part { name: "elm.swallow.recents";
-         type: SWALLOW;
+      part { name: "top_recent_space";
+         type: SPACER;
+         scale: 1;
          description { state: "default" 0.0;
+            align: 0.00 0.00;
+            fixed: 0 1;
+            min: 0 6;
+            max: -1 6;
             rel1 {
                to_x: "area.recent";
                to_y: "elm.swallow.btn_clear";
                relative: 0.0 1.0;
-               offset: 0 6;
+            }
+         }
+      }
+      part { name: "elm.swallow.recents";
+         type: SWALLOW;
+         scale: 1;
+         description { state: "default" 0.0;
+            rel1 {
+               to: "top_recent_space";
+               relative: 0.0 1.0;
             }
             rel2 {
                to: "area.recent";
             }
          }
       }
+      part { name: "right_fileselector_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 1.00 0.00;
+            fixed: 1 0;
+            min: 7 0;
+            max: 7 -1;
+            rel2 {
+               to: "area.recent";
+               relative: 0.0 1.0;
+            }
+         }
+      }
       part { name: "area.fileselector";
          type: SPACER;
+         scale: 1;
          description { state: "default" 0.0;
             min: 225 0;
             rel2 {
-               to: "area.recent";
+               to: "right_fileselector_space";
                relative: 0.0 1.0;
-               offset: -7 -1;
             }
          }
       }
       part { name: "elm.swallow.fileselector";
          type: SWALLOW;
+         scale: 1;
          description {
             rel1 {
                to: "area.fileselector";

-- 


Reply via email to