rimmed pushed a commit to branch master.

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

commit 9143904a830c48ff436967679cdcfe57af504636
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Jul 16 08:24:17 2015 +0300

    Styles: update layout for choose directories entries
    
    Change-Id: I709df8f7a1bcb9861b1aeac7f11ddccce1b12be4
---
 data/themes/default/widgets/layout.edc | 68 ++++++++--------------------------
 src/bin/ui/wizard/wizard_import_edc.c  |  1 +
 2 files changed, 16 insertions(+), 53 deletions(-)

diff --git a/data/themes/default/widgets/layout.edc 
b/data/themes/default/widgets/layout.edc
index 30d0052..99b6969 100644
--- a/data/themes/default/widgets/layout.edc
+++ b/data/themes/default/widgets/layout.edc
@@ -1247,79 +1247,41 @@ group { name: "elm/layout/wizard/import_edc";
 
 group { name: "elm/layout/wizard/directories_item";
    parts {
-      part { name: "area.base";
-         type: SPACER;
-         description { state: "default" 0.0;
-            min: 0 26;
-            max: -1 26;
-         }
-      }
-      part { name: "area.buttons";
-         type: SPACER;
-         description { state: "default" 0.0;
-            align: 1.0 0.5;
-            SET_SIZE(70, 26);
-            rel1.to: "area.base";
-            rel2.to: "area.base";
-         }
-      }
       part { name: "swallow.entry";
          type: SWALLOW;
          description { state: "default" 0.0;
-            rel1.to: "area.base";
-            rel2 {
-               to: "area.buttons";
+           min: 0 19;
+           max: -1 19;
+           rel2 {
                relative: 0.0 1.0;
+               offset: -7 -1;
+               to_x: "swallow.button_add";
             }
          }
       }
-      part { name: "padding.buttons_top_left";
-         type: SPACER;
-         description { state: "default" 0.0;
-            align: 0.0 0.0;
-            SET_SIZE(6, 3);
-            rel1.to: "area.buttons";
-            rel2.to: "area.buttons";
-         }
-      }
-      part { name: "padding.buttons_right_bottom";
-         type: SPACER;
-         description { state: "default" 0.0;
-            align: 1.0 1.0;
-            SET_SIZE(6, 3);
-            rel1.to: "area.buttons";
-            rel2.to: "area.buttons";
-         }
-      }
       part { name: "swallow.button_del";
          type: SWALLOW;
          description { state: "default" 0.0;
-            align: 1.0 1.0;
-            SET_SIZE(28, 20);
+            align: 1.0 0.5;
             fixed: 1 1;
-            rel1 {
-               to: "padding.buttons_top_left";
-               relative: 1.0 1.0;
-            }
+            min: 28 19;
+            max: 28 19;
             rel2 {
-               to: "padding.buttons_right_bottom";
-               relative: 0.0 0.0;
+               offset: -7 -1;
             }
          }
       }
       part { name: "swallow.button_add";
          type: SWALLOW;
          description { state: "default" 0.0;
-            align: 0.0 0.0;
-            SET_SIZE(28, 20);
+            align: 1.0 0.5;
             fixed: 1 1;
-            rel1 {
-               to: "padding.buttons_top_left";
-               relative: 1.0 1.0;
-            }
+            min: 28 19;
+            max: 28 19;
             rel2 {
-               to: "padding.buttons_right_bottom";
-               relative: 0.0 0.0;
+               relative: 0.0 1.0;
+               offset: -7 -1;
+               to_x: "swallow.button_del";
             }
          }
       }
diff --git a/src/bin/ui/wizard/wizard_import_edc.c 
b/src/bin/ui/wizard/wizard_import_edc.c
index 9a6fbf1..26dd60c 100644
--- a/src/bin/ui/wizard/wizard_import_edc.c
+++ b/src/bin/ui/wizard/wizard_import_edc.c
@@ -669,6 +669,7 @@ _directories_box_add(Wizard_Import_Edj_Win *wiew)
 
    SCROLLER_ADD(wiew->layout, scr);
    BOX_ADD(wiew->layout, box, false, false);
+   elm_box_padding_set(box, 0, 6);
    elm_box_pack_end(box, _dir_item_add(box, wiew));
    elm_object_content_set(scr, box);
    return scr;

-- 


Reply via email to