[datetime_input_ctxpopup.c] AM/PM button style is changed to auto_expand.
authorsumanth <sumanth.m@samsung.com>
Wed, 21 Mar 2012 10:36:12 +0000 (16:06 +0530)
committersumanth <sumanth.m@samsung.com>
Wed, 21 Mar 2012 11:13:51 +0000 (16:43 +0530)
Change-Id: I122c07ec9a67db8c7f3c9fb336b9396e1459b06a

data/themes/widgets/button.edc
src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c

index 11dcd42..298804c 100644 (file)
@@ -1,5 +1,6 @@
 group { name: "elm/button/base/default";
    alias: "elm/button/base/popup_button/default";
+   alias: "elm/button/base/datetime_ampm/default";
    images {
       image: "bt_base1.png" COMP;
       image: "bt_base2.png" COMP;
index c297eab..1a6ac6e 100644 (file)
@@ -250,6 +250,7 @@ field_create(Elm_Datetime_Module_Data *module_data, Elm_Datetime_Field_Type  fie
    if (field_type == ELM_DATETIME_AMPM)
      {
         field_obj = elm_button_add(ctx_mod->mod_data.base);
+        elm_object_style_set(field_obj, "datetime_ampm/default");
         evas_object_smart_callback_add(field_obj, "clicked", _ampm_clicked_cb, ctx_mod);
      }
    else