[popup] add minimum style for list(genlist)
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 31 Oct 2011 07:06:53 +0000 (16:06 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 3 Nov 2011 11:38:56 +0000 (20:38 +0900)
Change-Id: I96951b678489a6b1d4f340d38888181d741342e9

themes/groups/popup.edc
themes/inc/nbeat-black-hd-inc.edc
themes/inc/nbeat-black-inc.edc
themes/inc/nbeat-hd-inc.edc
themes/inc/nbeat-inc.edc

index 04b165e..71dded2 100644 (file)
@@ -837,7 +837,61 @@ group { name: "elm/popup/content/menustyle";
             fixed: 1 0;
             visible: 0;
             align: 0.0 0.5;
-            min: 3 0;
+            min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+            rel1 {
+               relative: 0.0 0.0;
+            }
+            rel2 {
+               relative: 0.0 1.0;
+            }
+         }
+      }
+      part{ name:"elm.swallow.content";
+         type: SWALLOW;
+         scale : 1;
+         description { state: "default" 0.0;
+            min: POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC;
+            align: 0.5 0.5;
+            fixed: 1 0;
+            rel1 {
+               relative: 1.0 0.0;
+               to:"left_padding";
+            }
+            rel2 {
+               relative: 0.0 1.0;
+               to:"right_padding";
+            }
+         }
+      }
+      part { name: "right_padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            fixed: 1 0;
+            visible: 0;
+            align: 1.0 0.5;
+            min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+            rel1 {
+               relative: 1.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 1.0;
+            }
+         }
+      }
+   }
+}
+
+group { name: "elm/popup/content/min_menustyle";
+   parts{
+      part { name: "left_padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            fixed: 1 0;
+            visible: 0;
+            align: 0.0 0.5;
+            min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
             rel1 {
                relative: 0.0 0.0;
             }
@@ -850,7 +904,7 @@ group { name: "elm/popup/content/menustyle";
          type: SWALLOW;
          scale : 1;
          description { state: "default" 0.0;
-            min: 394 320;
+            min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
             align: 0.5 0.5;
             fixed: 1 0;
             rel1 {
@@ -870,7 +924,7 @@ group { name: "elm/popup/content/menustyle";
             fixed: 1 0;
             visible: 0;
             align: 1.0 0.5;
-            min: 3 0;
+            min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
             rel1 {
                relative: 1.0 0.0;
             }
@@ -931,6 +985,55 @@ group { name: "elm/popup/content/liststyle";
    }
 }
 
+group { name: "elm/popup/content/min_liststyle";
+   parts{
+      part { name: "left_top_padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            fixed: 1 1;
+            visible: 0;
+            align: 0.0 0.0;
+            min: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
+            max: POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC;
+         }
+      }
+      part{ name:"elm.swallow.content";
+         type: SWALLOW;
+         scale : 1;
+         description { state: "default" 0.0;
+            min: POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC;
+            align: 0.5 0.5;
+            fixed: 1 0;
+            rel1 {
+               relative: 1.0 1.0;
+               to:"left_top_padding";
+            }
+            rel2 {
+               relative: 0.0 1.0;
+               to:"right_padding";
+            }
+         }
+      }
+      part { name: "right_padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            fixed: 1 0;
+            visible: 0;
+            align: 1.0 0.5;
+            min: POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC;
+            rel1 {
+               relative: 1.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 1.0;
+            }
+         }
+      }
+   }
+}
+
 group { name: "elm/popup/base/customstyle";
    parts {
       images {
index 4139bdd..ed936d1 100644 (file)
 #define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 614 520
 #define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 3 0
 
+#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 614 0
+
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MIN_INC 620 0
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MAX_INC 620 1120
 #define POPUP_BASE_CUSTOMSTYLE_BG_DEFAULT_IMAGE_BORDER_INC 3 3 3 3
index dac7d8b..d36368b 100644 (file)
 #define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 394 320
 #define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 3 0
 
+#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 394 0
+
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MIN_INC 400 0
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MAX_INC 400 730
 #define POPUP_BASE_CUSTOMSTYLE_BG_DEFAULT_IMAGE_BORDER_INC 3 3 3 3
index f24a13a..77f1512 100644 (file)
 #define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 614 520
 #define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 3 0
 
+#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 614 0
+
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MIN_INC 620 0
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MAX_INC 620 1120
 #define POPUP_BASE_CUSTOMSTYLE_BG_DEFAULT_IMAGE_BORDER_INC 3 3 3 3
index 56bb583..2b8034a 100644 (file)
 #define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 394 320
 #define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 3 0
 
+#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 394 0
+
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MIN_INC 400 0
 #define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MAX_INC 400 730
 #define POPUP_BASE_CUSTOMSTYLE_BG_DEFAULT_IMAGE_BORDER_INC 3 3 3 3