diff options
author | Vitalii Vorobiov <vi.vorobiov@samsung.com> | 2016-06-22 14:37:28 +0300 |
---|---|---|
committer | Vitalii Vorobiov <vi.vorobiov@samsung.com> | 2016-06-22 14:38:48 +0300 |
commit | a192dd0cf397def93620e4766a634fba7a064d19 (patch) | |
tree | c747752203f4426de79fd112f0cf6966b6a0ea97 | |
parent | 41e17f7e73840f89178bb3b1b50b3e483346ae95 (diff) | |
download | efl-a192dd0cf397def93620e4766a634fba7a064d19.tar.gz |
elc_combobox.c: apply style to inner parts of combobox like entry and genlist
this will allow to make more custom styles and themes for combobox
@fix
-rw-r--r-- | src/lib/elementary/elc_combobox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c index fb26c19dec..89e153821f 100644 --- a/src/lib/elementary/elc_combobox.c +++ b/src/lib/elementary/elc_combobox.c @@ -460,6 +460,7 @@ _elm_combobox_eo_base_constructor(Eo *obj, Elm_Combobox_Data *sd) elm_genlist_homogeneous_set(gl, EINA_TRUE); elm_genlist_mode_set(gl, ELM_LIST_COMPRESS); elm_table_pack(sd->tbl, gl, 0, 0, 1, 1); + elm_object_style_set(gl, buf); // This is the entry object that will take over the entry call sd->entry = entry = eo_add(ELM_ENTRY_CLASS, obj); @@ -473,6 +474,7 @@ _elm_combobox_eo_base_constructor(Eo *obj, Elm_Combobox_Data *sd) evas_object_show(entry); elm_object_part_content_set(obj, "elm.swallow.content", entry); + elm_object_style_set(entry, buf); eo_composite_attach(obj, gl); eo_composite_attach(obj, entry); |