[Multibuttonentry] change closed button to item count
authorMinseok Kim <minseok3.kim@samsung.com>
Thu, 28 Jun 2012 10:50:36 +0000 (19:50 +0900)
committerMinseok Kim <minseok3.kim@samsung.com>
Thu, 28 Jun 2012 10:50:36 +0000 (19:50 +0900)
themes/inc/tizen-hd-inc.edc
themes/widgets/multibuttonentry.edc

index 586896d..8855b02 100644 (file)
 #define MULTIBUTTONENTRY_WIDTH_PAD_INC     15
 #define MULTIBUTTONENTRY_HEIGHT_PAD_INC 20
 #define MULTIBUTTONENTRY_BUTTON_MAX_SIZE_INC 300
-#define MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC 66
-#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 5 5 0 0
+#define MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC 76
+#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 28 28 0 0
 #define MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD_INC 12
 #define MULTIBUTTONENTRY_BUTTON_LEFT_INNER_PAD_INC 15
 #define MULTIBUTTONENTRY_BUTTON_RIGHT_INNER_PAD_INC 15
 #define MULTIBUTTONENTRY_BUTTON_RIGHT_PAD_INC 15
 #define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 38
 #define MULTIBUTTONENTRY_GUIDETEXT_SIZE_INC 44
-#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 60
+#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 1
 #define MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT_INC 60
 #define MULTIBUTTONENTRY_LABEL_RIGHT_PAD_INC 27
 #define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 42
index 4b14e36..dfe4ee1 100644 (file)
@@ -19,7 +19,7 @@
 ///////////////////////////////////////////////////////////////////////////////////////
    group {
       name: "elm/multibuttonentry/base/default";
-      data.item: "closed_button_type" "image"; /* image, label, default : label */
+      data.item: "closed_button_type" "label"; /* image, label, default : label */
       data.item: "closed_height" MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT_INC;
 
       parts {
             scale: 1;
             description {
                state: "default" 0.0;
-               min: 0 MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC;
+               min: 56 MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC;
                max: 5000 MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC;
                fixed: 1 1;
                color: 0 0 0 0;
             scale: 1;
             description {
                state: "default" 0.0;
-               min: 10 6;
-               max: 500 50;
+               min: 56 56;
+               max: 500 56;
                fixed: 0 0;
                rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";}
                rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";}
       styles {
          style {
             name: "textblock_style_multibuttonentry_default";
-            base: "font=SLP:style=Medium font_size=24 color=#000000 wrap=char text_class=slp_medium";
+            base: "font=SLP:style=Roman font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color=#FFFFFF wrap=char text_class=slp_roman";
             tag:  "br" "\n";
             tag:  "ps" "ps";
             tag:  "hilight" "+ font=SLP:style=Bold";