forked from enlightenment/efl
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:
parent
be9053f343
commit
68a8e25672
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue