summaryrefslogtreecommitdiff
path: root/src/examples/elementary/efl_ui_list_view_example_2.c
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-04-23 07:34:32 +0000
committerCedric BAIL <cedric.bail@free.fr>2019-04-23 12:40:57 -0700
commitcaa1542610a7073706f5e5200d58075ea83b04b1 (patch)
tree66762d3658ad2387c49a82e6341fef904cb42f9f /src/examples/elementary/efl_ui_list_view_example_2.c
parent1ec4ad155688df9b1cec8e608481d64e776feae8 (diff)
examples : update list_view examples to use item_class_set not layout_theme_config.
widget_factory support item_class_set for factory created child. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8684
Diffstat (limited to 'src/examples/elementary/efl_ui_list_view_example_2.c')
-rw-r--r--src/examples/elementary/efl_ui_list_view_example_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/efl_ui_list_view_example_2.c b/src/examples/elementary/efl_ui_list_view_example_2.c
index a843f6ed9c..5a4d680614 100644
--- a/src/examples/elementary/efl_ui_list_view_example_2.c
+++ b/src/examples/elementary/efl_ui_list_view_example_2.c
@@ -33,8 +33,8 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
33 33
34 model = efl_add(EFL_IO_MODEL_CLASS, win, efl_io_model_path_set(efl_added, dirname)); 34 model = efl_add(EFL_IO_MODEL_CLASS, win, efl_io_model_path_set(efl_added, dirname));
35 factory = efl_add(EFL_UI_LAYOUT_FACTORY_CLASS, win); 35 factory = efl_add(EFL_UI_LAYOUT_FACTORY_CLASS, win);
36 efl_ui_widget_factory_item_class_set(factory, EFL_UI_LIST_DEFAULT_ITEM_CLASS);
36 efl_ui_property_bind(factory, "efl.text", "filename"); 37 efl_ui_property_bind(factory, "efl.text", "filename");
37 efl_ui_layout_factory_theme_config(factory, "list_item", NULL, "default");
38 38
39 li = efl_add(EFL_UI_LIST_VIEW_CLASS, win); 39 li = efl_add(EFL_UI_LIST_VIEW_CLASS, win);
40 efl_ui_list_view_layout_factory_set(li, factory); 40 efl_ui_list_view_layout_factory_set(li, factory);