test_list.c: fix list focus example to enable the focus highlight and animation for the proper window.

This commit is contained in:
Daniel Juyung Seo 2013-11-06 03:09:54 +09:00
parent c4f8c9d5b7
commit a5c3b45e84
1 changed files with 3 additions and 3 deletions

View File

@ -1376,14 +1376,14 @@ void test_list_focus(const char *name, const char *title, Eina_Bool horiz)
unsigned lhand, rhand, idx;
char buf[256];
elm_config_focus_highlight_enabled_set(EINA_TRUE);
elm_config_focus_highlight_animate_set(EINA_TRUE);
win = elm_win_util_standard_add(name, title);
elm_win_autodel_set(win, EINA_TRUE);
evas_object_resize(win, 320, 300);
evas_object_show(win);
elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
elm_win_focus_highlight_animate_set(win, EINA_TRUE);
bxx = elm_box_add(win);
evas_object_size_hint_weight_set(bxx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, bxx);