Summary:
entry should receive style in both modes
@fix
Reviewers: cedric, seoz, raster, reutskiy.v.v, Sergeant_Whitespace, Hermet
Reviewed By: reutskiy.v.v, Sergeant_Whitespace
Subscribers: Sergeant_Whitespace, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D2265
if (!sd->ent)
{
sd->ent = elm_entry_add(obj);
+ Eina_Strbuf *buf = eina_strbuf_new();
+ eina_strbuf_append_printf(buf, "spinner/%s", elm_widget_style_get(obj));
+ elm_widget_style_set(sd->ent, eina_strbuf_string_get(buf));
+ eina_strbuf_free(buf);
if (sd->button_layout)
{
- Eina_Strbuf *buf = eina_strbuf_new();
- eina_strbuf_append_printf(buf, "spinner/%s", elm_widget_style_get(obj));
- elm_widget_style_set(sd->ent, eina_strbuf_string_get(buf));
- eina_strbuf_free(buf);
evas_object_event_callback_add
(sd->ent, EVAS_CALLBACK_SHOW, _entry_show_cb, obj);
}