[popup] Modified content for min_menu popup style.
authorAmit Kamboj <amit.kamboj@samsung.com>
Tue, 7 May 2013 08:42:10 +0000 (14:12 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:16:04 +0000 (20:16 +0900)
Change-Id: I2f1270c98bfbd0b9e4857c3e1e80c9b5ddec78c6

themes/inc/tizen-hd-inc.edc
themes/widgets/popup.edc

index b279d2b..ea57f2d 100644 (file)
 #define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 614 408
 #define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 17 0
 
+#define POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 16
+#define POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 16
 #define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 686 0
 #define POPUP_CONTENT_MINSTYLE_CONTENT_LANDSCAPE_MIN_INC 866 0
 #define POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 648 300
index 576b31f..03d4acf 100644 (file)
@@ -1002,12 +1002,29 @@ group { name: "elm/popup/content/default";
 }
 
 group { name: "elm/popup/content/content_no_vhpad";
+   inherit: "elm/popup/content/default";
+   alias: "elm/popup/content/min_menustyle";
    parts {
-      part { name:"elm.swallow.content";
-         type: SWALLOW;
+      part { name: "pad_l";
+         type: SPACER;
          scale: 1;
          description { state: "default" 0.0;
+            min: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
+            max: POPUP_CONTENT_MINSTYLE_LEFT_PADDING_MIN_INC 0;
             fixed: 1 0;
+            rel2.relative: 0.0 1.0;
+            align: 0.0 0.0;
+         }
+      }
+      part { name: "pad_r";
+         type: SPACER;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
+            max: POPUP_CONTENT_MINSTYLE_RIGHT_PADDING_MIN_INC 0;
+            fixed: 1 0;
+            rel1.relative: 1.0 0.0;
+            align: 1.0 0.0;
          }
       }
    }