[ctxpopup] adjusted some issues in devel/uifw/master
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / multibuttonentry.edc
index 5a3821d..6be197b 100644 (file)
  * limitations under the License.
  */
 
-
+   sounds {
+      sample {
+         name: "touch_sound" AS_IS;
+         source: "S_Touch_30ms.wav";
+      }
+   }
 
 group {
    name: "elm/multibuttonentry/base/default";
@@ -146,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 {
@@ -204,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;
@@ -228,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";
@@ -269,6 +286,11 @@ group {
          signal: "mouse,clicked,1";
          source: "events";
          action: SIGNAL_EMIT "elm,action,clicked" "";
+         after: "touch_snd";
+      }
+      program {
+         name: "touch_snd";
+         action: PLAY_SAMPLE "touch_sound" 1.0;
       }
       program {
          name: "selected";