elm test: mbe - make mbe focusable

After 53fcc4bb7d, mbe is no more a focusable widget by
default. This test rely on focus property of mbe.
This commit is contained in:
Amitesh Singh 2017-10-27 16:07:48 +09:00
parent ec1acca74d
commit b6567ab1f6
1 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,7 @@ _add_multibuttonentry(Evas_Object *parent)
evas_object_show(scr);
mbe = elm_multibuttonentry_add(parent);
elm_object_focus_allow_set(mbe, EINA_TRUE);
elm_object_text_set(mbe, "To: ");
elm_object_part_text_set(mbe, "guide", "Tap to add recipient");
evas_object_size_hint_weight_set(mbe, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@ -274,6 +275,7 @@ _add_multibuttonentry_shrink(Evas_Object *parent)
evas_object_show(scr);
mbe = elm_multibuttonentry_add(parent);
elm_object_focus_allow_set(mbe, EINA_TRUE);
elm_object_text_set(mbe, "To: ");
elm_object_part_text_set(mbe, "guide", "Tap to add recipient");
evas_object_size_hint_weight_set(mbe, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);