rimmed pushed a commit to branch master.

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

commit 27705a782d0327de355c4679269364fbc4d9e5ce
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Tue Jul 7 16:13:57 2015 +0300

    styles: fix popup style
---
 data/themes/default/widgets/popup.edc | 121 ++--------------------------------
 1 file changed, 5 insertions(+), 116 deletions(-)

diff --git a/data/themes/default/widgets/popup.edc 
b/data/themes/default/widgets/popup.edc
index fce22a4..001ed91 100644
--- a/data/themes/default/widgets/popup.edc
+++ b/data/themes/default/widgets/popup.edc
@@ -87,26 +87,6 @@ group { name: "elm/notify/center/popup/default";
 
 group { name: "elm/label/base/popup/default";
    parts {
-      part { name: "left_top_padding";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            fixed: 1 1;
-            align: 0.0 0.0;
-            min: 10 0;
-            rel2.relative: 0 0;
-         }
-      }
-      part { name: "right_bottom_padding";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            fixed: 1 1;
-            align: 1.0 1.0;
-            min: 10 0;
-            rel1.relative: 1 1;
-         }
-      }
       part { name: "elm.text";
          type: TEXTBLOCK;
          mouse_events: 0;
@@ -114,14 +94,8 @@ group { name: "elm/label/base/popup/default";
          description { state: "default" 0.0;
             text {
                style: "eflete_textblock_style";
-            }
-            rel1 {
-               relative: 1.0 1.0;
-               to: left_top_padding;
-            }
-            rel2 {
-               relative: 0.0 0.0;
-               to: right_bottom_padding;
+               min: 0 1;
+               max: 0 1;
             }
          }
       }
@@ -254,31 +228,6 @@ group { name: "elm/popup/base/default";
                relative: 1.0 1.0;
             }
          }
-         description { state: "show_title_area" 0.0;
-            inherit: "default" 0.0;
-            rel1 {
-               relative: 0.5 1.0;
-               to: "elm.bg.title";
-            }
-         }
-         description { state: "show_action_area" 0.0;
-            inherit: "default" 0.0;
-            rel2 {
-               relative: 0.5 0.0;
-               to: "elm.bg.action_area";
-            }
-         }
-         description { state: "show_action_title_area" 0.0;
-            inherit: "default" 0.0;
-            rel1 {
-               relative: 0.5 1.0;
-               to: "elm.bg.title";
-            }
-            rel2 {
-               relative: 0.5 0.0;
-               to: "elm.bg.action_area";
-            }
-         }
       }
       part { name: "elm.bg.action_area.separator";
          type: IMAGE;
@@ -422,80 +371,19 @@ group { name: "elm/popup/base/default";
    } /* end of programs */
 }
 
+
 group { name: "elm/popup/content/popup/default";
    parts{
-      part { name: "pad_t";
-         type: SPACER;
-         scale: 1;
-         mouse_events: 0;
-         description { state: "default" 0.0;
-            align: 0.5 0.0;
-            min: 0 14;
-            fixed: 0 1;
-            rel1 {
-               relative: 1.0 0.0;
-               to_x: "pad_l";
-            }
-            rel2 {
-               relative: 0.0 0.0;
-               to_x: "pad_r";
-            }
-         }
-      }
-      part { name: "pad_l";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            min: 10 0;
-            fixed: 1 0;
-            align: 0.0 0.0;
-            rel2.relative: 0.0 1.0;
-         }
-      }
-      part { name: "pad_r";
-         type: SPACER;
-         scale: 1;
-         description { state: "default" 0.0;
-            min: 10 0;
-            fixed: 1 0;
-            align: 1.0 0.0;
-            rel1.relative: 1.0 0.0;
-         }
-      }
       part{ name:"elm.swallow.content";
          type: SWALLOW;
-         scale: 1;
          description { state: "default" 0.0;
             min: 380 0;
-            fixed: 1 0;
-            rel1 {
-               relative: 0.5 1.0;
-               to: "pad_t";
-            }
-            rel2 {
-               relative: 0.5 0.0;
-               to: "pad_b";
-            }
-         }
-      }
-      part { name: "pad_b";
-         type: SPACER;
-         scale: 1;
-         mouse_events: 0;
-         description { state: "default" 0.0;
-            align: 0.5 1.0;
-            min: 0 14;
-            fixed: 0 1;
-            rel1 {
-               relative: 0.0 1.0;
-               to_x: "pad_l";
-            }
-            rel2.to_x: "pad_r";
          }
       }
    }
 }
 
+
 group { name: "elm/popup/item/popup/default";
    script {
       public item_state = POPUP_ITEM_STATE_ENABLED;
@@ -956,5 +844,6 @@ group { name: "elm/popup/buttons3/popup/default";
       }
    }
 }
+
 #undef POPUP_ITEM_STATE_ENABLED
 #undef POPUP_ITEM_STATE_DISABLED

-- 


Reply via email to