test_list: Disabled 'focus on selection' as it is turned off by default.

- This can be enabled by checking the check buttons.
- Switches 'focus on selection' and 'focus animation' check buttons.
This commit is contained in:
Daniel Juyung Seo 2014-02-18 03:49:19 +09:00
parent be9053f343
commit 68a8e25672
1 changed files with 9 additions and 9 deletions

View File

@ -1315,15 +1315,6 @@ void test_list_focus(const char *name, const char *title, Eina_Bool horiz)
elm_box_horizontal_set(bx, EINA_TRUE);
evas_object_show(bx);
chk = elm_check_add(win);
elm_object_text_set(chk, "Focus on selection");
evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0);
evas_object_smart_callback_add(chk, "changed", test_list8_focus_check_changed, li);
elm_box_pack_end(bx, chk);
evas_object_show(chk);
test_list8_focus_on_selection_set(li, chk, EINA_TRUE);
chk = elm_check_add(win);
elm_object_text_set(chk, "Focus Animation");
elm_check_state_set(chk, EINA_TRUE);
@ -1333,6 +1324,15 @@ void test_list_focus(const char *name, const char *title, Eina_Bool horiz)
elm_box_pack_end(bx, chk);
evas_object_show(chk);
chk = elm_check_add(win);
elm_object_text_set(chk, "Focus on selection");
evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0);
evas_object_smart_callback_add(chk, "changed", test_list8_focus_check_changed, li);
elm_box_pack_end(bx, chk);
evas_object_show(chk);
test_list8_focus_on_selection_set(li, chk, EINA_FALSE);
elm_box_pack_end(bxx, bx);
for (idx = 0; _list_focus_combo[idx] >= 0; idx++)