[Time picker button] created new style for time picker button.
[profile/ivi/efl-theme-tizen.git] / themes / widgets / button.edc
index fd82345..38aca23 100644 (file)
 
 //////////////////////////////////////////////////////////////
    group { name: "elm/button/base/style1/auto_expand";
-      alias: "elm/button/base/datetime_ampm/default";
       images {
          image: "00_button_01_normal.png" COMP;
          image: "00_button_01_normal_press.png" COMP;
    }
 
 //////////////////////////////////////////////////////////////////////////////////////
+   group { name: "elm/button/base/datetime_ampm/default";
+      inherit: "elm/button/base/style1/auto_expand";
+      script {
+         public button_state = BUTTON_STATE_ENABLED;
+      }
+      parts {
+         part { name: "bg";
+            type: RECT;
+            scale: 1;
+            mouse_events: 0;
+            description { state: "default" 0.0;
+               min: 0 0;
+               visible: 0;
+            }
+            description { state: "visible" 0.0;
+               inherit: "default" 0.0;
+               min: BUTTON_DATETIME_AMPM_BG_MIN_INC;
+            }
+            description { state: "icononly" 0.0;
+               inherit: "default" 0.0;
+            }
+         }
+      }
+   }
+
+//////////////////////////////////////////////////////////////////////////////////////
    group { name: "elm/button/base/style1/multiline";
       images {
          image: "00_button_01_normal.png" COMP;