rimmed pushed a commit to branch master.

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

commit a447062660405b8ba737e50ea06769d4ed904fa1
Author: Tetiana Naumenko <[email protected]>
Date:   Mon May 22 17:09:56 2017 +0300

    theme: made layout for tab_home/import_edc scalable
    
    Change-Id: I4bdf32d53136e6807452e39ee208a05bc039f454
---
 data/themes/default/widgets/layouts/tabs.edc | 138 +++++++++++++++++++++++----
 1 file changed, 120 insertions(+), 18 deletions(-)

diff --git a/data/themes/default/widgets/layouts/tabs.edc 
b/data/themes/default/widgets/layouts/tabs.edc
index 23aac9dfd..8fd953149 100644
--- a/data/themes/default/widgets/layouts/tabs.edc
+++ b/data/themes/default/widgets/layouts/tabs.edc
@@ -1547,6 +1547,7 @@ group { name: "elm/layout/tab_home/import_edc";
    parts {
       part { name: "elm.swallow.btn_create";
          type: SWALLOW;
+         scale: 1;
          description {
             align: 1.0 1.0;
             fixed: 1 1;
@@ -1558,6 +1559,20 @@ group { name: "elm/layout/tab_home/import_edc";
             }
          }
       }
+      part { name: "bottom_separator_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 0.50 1.00;
+            fixed: 0 1;
+            min: 0 6;
+            max: -1 6;
+            rel2 {
+               relative: 1.0 0.0;
+               to: "elm.swallow.btn_create";
+            }
+         }
+      }
       part { name: "separator_hor";
          type: IMAGE;
          description { state: "default" 0.0;
@@ -1569,9 +1584,22 @@ group { name: "elm/layout/tab_home/import_edc";
                middle: DEFAULT;
             }
             rel2 {
-               to: "elm.swallow.btn_create";
+               to: "bottom_separator_space";
+               relative: 1.0 0.0;
+            }
+         }
+      }
+      part { name: "top_separator_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 0.50 1.00;
+            fixed: 0 1;
+            min: 0 6;
+            max: -1 6;
+            rel2 {
                relative: 1.0 0.0;
-               offset: -1 -7;
+               to: "separator_hor";
             }
          }
       }
@@ -1585,20 +1613,50 @@ group { name: "elm/layout/tab_home/import_edc";
                middle: DEFAULT;
             }
             rel2 {
-               to: "separator_hor";
+               to: "top_separator_space";
                relative: 1.0 0.0;
-               offset: -1 -7;
+            }
+         }
+      }
+      part { name: "right_pinfo_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 {
+               relative: 0.0 1.0;
+               to: "separator";
             }
          }
       }
       part { name: "swallow.project_info";
          type: SWALLOW;
+         scale: 1;
          description { state: "default" 0.0;
             min: 225 0;
             rel2 {
                relative: 0.0 1.0;
-               offset: -7 -1;
-               to: "separator";
+               to: "right_pinfo_space";
+            }
+         }
+      }
+      part { name: "left_pdetails_space";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            align: 0.00 0.00;
+            fixed: 1 0;
+            min: 6 0;
+            max: 6 -1;
+            rel1 {
+               relative: 1.0 0.0;
+               to_x: "separator";
+            }
+            rel2 {
+               to_y: "separator";
             }
          }
       }
@@ -1610,11 +1668,10 @@ group { name: "elm/layout/tab_home/import_edc";
             align: 0.0 0.0;
             rel1 {
                relative: 1.0 0.0;
-               offset: 6 0;
-               to_x: "separator";
+               to_x: "left_pdetails_space";
             }
             rel2 {
-               to_y: "separator";
+               to_y: "left_pdetails_space";
             }
          }
       }
@@ -1656,15 +1713,30 @@ group { name: "elm/layout/tab_home/import_edc";
             }
          }
       }
+      part { name: "top_big_fields_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 {
+               relative: 0.00 1.00;
+               to: "label.meta_version";
+            }
+            rel2 {
+               to: "area.project_details";
+            }
+         }
+      }
       part { name: "area.big_fields";
          type: SPACER;
          scale: 1;
          description { state: "default" 0.0;
             rel1 {
                relative: 0.0 1.0;
-               offset: 0 6;
-               to_x: "area.project_details";
-               to_y: "swallow.meta_version";
+               to: "top_big_fields_space";
             }
             rel2 {
                to: "area.project_details";
@@ -1720,6 +1792,23 @@ group { name: "elm/layout/tab_home/import_edc";
             }
          }
       }
+      part { name: "top_meta_licenses_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 {
+               relative: 0.00 1.00;
+               to: "area.meta_authors";
+            }
+            rel2 {
+               to: "area.big_fields";
+            }
+         }
+      }
       part { name: "area.meta_licenses";
          type: SPACER;
          scale: 1;
@@ -1728,9 +1817,7 @@ group { name: "elm/layout/tab_home/import_edc";
             min: 0 26;
             rel1 {
                relative: 0.0 1.0;
-               offset: 0 6;
-               to_x: "area.big_fields";
-               to_y: "area.meta_authors";
+               to: "top_meta_licenses_space";
             }
             rel2 {
                relative: 1.0 2.0;
@@ -1772,6 +1859,23 @@ group { name: "elm/layout/tab_home/import_edc";
             }
          }
       }
+      part { name: "top_meta_comment_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 {
+               relative: 0.00 1.00;
+               to: "area.meta_licenses";
+            }
+            rel2 {
+               to: "area.big_fields";
+            }
+         }
+      }
       part { name: "area.meta_comment";
          type: SPACER;
          scale: 1;
@@ -1780,9 +1884,7 @@ group { name: "elm/layout/tab_home/import_edc";
             min: 0 26;
             rel1 {
                relative: 0.0 1.0;
-               offset: 0 6;
-               to_x: "area.big_fields";
-               to_y: "area.meta_licenses";
+               to: "top_meta_comment_space";
             }
             rel2 {
                to: "area.big_fields";

-- 


Reply via email to