hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=895984f8f53ba5e45b32a7dec3b02a7f03dd32f5

commit 895984f8f53ba5e45b32a7dec3b02a7f03dd32f5
Author: Hermet Park <[email protected]>
Date:   Wed Jul 27 22:48:59 2016 +0900

    theme: set clipper size properly.
    
    Some dialogue layout had larger size clipper than actual box size.
    Correct clipper size to fit to dialogue box.
---
 data/themes/default/layout_common.edc  | 36 ++++++++++++++++++----------------
 data/themes/default/layout_setting.edc |  9 ++++++---
 2 files changed, 25 insertions(+), 20 deletions(-)

diff --git a/data/themes/default/layout_common.edc 
b/data/themes/default/layout_common.edc
index 206aad3..707cb59 100644
--- a/data/themes/default/layout_common.edc
+++ b/data/themes/default/layout_common.edc
@@ -19,23 +19,27 @@ group { "fileselector_layout";
       rect { "clipper";
          desc { "default";
             color: 127 127 127 127;
+            min: 650 435;
+            max: 600 435;
+            fixed: 1 1;
          }
          desc { "show";
+            inherit: "default";
             color: 255 255 255 255;
          }
       }
       rect { "bg";
          clip_to: "clipper";
          desc { "default";
-            color: 0 0 0 175;
+            color: 0 0 0 0;
          }
       }
       image { "base_frame_img";
          scale: 1;
          clip_to: "clipper";
          desc {
-            min: 650 435;
-            max: 600 435;
+            rel1.to: "clipper";
+            rel2.to: "clipper";
             fixed: 1 1;
             image.normal: "frame_bg.png";
             image.border: 10 10 10 10;
@@ -207,8 +211,12 @@ group { "newfile_layout";
       rect { "clipper";
          desc { "default";
             color: 127 127 127 127;
+            min: 650 435;
+            max: 600 435;
+            fixed: 1 1;
          }
          desc { "show";
+            inherit: "default";
             color: 255 255 255 255;
          }
       }
@@ -222,8 +230,8 @@ group { "newfile_layout";
          scale: 1;
          clip_to: "clipper";
          desc {
-            min: 650 435;
-            max: 650 435;
+            rel1.to: "clipper";
+            rel2.to: "clipper";
             fixed: 1 1;
             image.normal: "frame_bg.png";
             image.border: 10 10 10 10;
@@ -381,8 +389,12 @@ group { "warning_layout";
       rect { "clipper";
          desc { "default";
             color: 127 127 127 127;
+            min: 300 135;
+            max: 300 135;
+            fixed: 1 1;
          }
          desc {state: "show";
+            inherit: "default";
             color: 255 255 255 255;
          }
       }
@@ -396,8 +408,8 @@ group { "warning_layout";
          scale: 1;
          clip_to: "clipper";
          desc {
-            min: 300 135;
-            max: 300 135;
+            rel1.to: "clipper";
+            rel2.to: "clipper";
             fixed: 1 1;
             image.normal: "frame_bg.png";
             image.border: 10 10 10 10;
@@ -778,16 +790,6 @@ group { "menu_layout";
             fixed: 1 1;
          }
       }
-      spacer { "padding7";
-         scale: 1;
-         desc { "default";
-            rel1.relative: 1 1;
-            rel2.offset: -10 -1;
-            min: 20 20;
-            fixed: 1 1;
-            align: 1 1;
-         }
-      }
       swallow { "elm.swallow.back_button";
          scale: 1;
          clip_to: "clipper";
diff --git a/data/themes/default/layout_setting.edc 
b/data/themes/default/layout_setting.edc
index 72ff376..d1c672a 100644
--- a/data/themes/default/layout_setting.edc
+++ b/data/themes/default/layout_setting.edc
@@ -9,13 +9,16 @@ group { "setting_layout";
       rect { "clipper";
          desc { state: "default";
             color: 127 127 127 127;
+            min: 650 435;
+            max: 600 435;
+            fixed: 1 1;
          }
          desc { state: "show";
+            inherit: "default";
             color: 255 255 255 255;
          }
       }
       rect { "bg";
-         clip_to: "clipper";
          desc { state: "default";
             color: 0 0 0 175;
          }
@@ -24,8 +27,8 @@ group { "setting_layout";
          scale: 1;
          clip_to: "clipper";
          desc {
-            min: 650 435;
-            max: 600 435;
+            rel1.to: "clipper";
+            rel2.to: "clipper";
             fixed: 1 1;
             image.normal: "frame_bg.png";
             image.border: 10 10 10 10;

-- 


Reply via email to