[ctxpopup] adjusted some issues in devel/uifw/master
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / multibuttonentry.edc
index ead6c9c..6be197b 100644 (file)
@@ -151,12 +151,24 @@ group {
 group {
    name: "elm/multibuttonentry/btn/default";
 
+   styles {
+      style {
+         name: "multibuttonentry_btn_text_style";
+         base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" text_class=tizen";
+      }
+      style {
+         name: "multibuttonentry_btn_text_ellipsis_style";
+         base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" ellipsis=1 text_class=tizen";
+      }
+   }
+
    images {
       image: "00_contacts_button.png" COMP;
       image: "00_contacts_button_press.png" COMP;
    }
 
-   data.item: "button_max_size" MULTIBUTTONENTRY_BUTTON_MAX_INC;
+   data.item: "button_left_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
+   data.item: "button_right_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
 
    parts {
       part {
@@ -209,17 +221,15 @@ group {
       }
       part {
          name: "elm.btn.text";
-         type: TEXT;
+         type: TEXTBLOCK;
          mouse_events: 0;
+         multiline: 0;
          scale: 1;
          description {
             state: "default" 0.0;
-            color: MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC;
             text {
-               font: "Tizen:style=Regular";
-               size: MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC;
+               style: "multibuttonentry_btn_text_style";
                min: 1 0;
-               text_class: "tizen";
             }
             rel1 {
                relative: 1.0 0.0;
@@ -233,8 +243,10 @@ group {
          description {
             state: "ellipsis" 0.0;
             inherit: "default" 0.0;
-            min: MULTIBUTTONENTRY_BUTTON_TEXT_MAX_INC 0;
-            text.min: 0 0;
+            text {
+               style: "multibuttonentry_btn_text_ellipsis_style";
+               min: 0 0;
+            }
          }
       }
       part { name: "events";