forked from enlightenment/efl
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:
parent
ec1acca74d
commit
b6567ab1f6
|
@ -196,6 +196,7 @@ _add_multibuttonentry(Evas_Object *parent)
|
||||||
evas_object_show(scr);
|
evas_object_show(scr);
|
||||||
|
|
||||||
mbe = elm_multibuttonentry_add(parent);
|
mbe = elm_multibuttonentry_add(parent);
|
||||||
|
elm_object_focus_allow_set(mbe, EINA_TRUE);
|
||||||
elm_object_text_set(mbe, "To: ");
|
elm_object_text_set(mbe, "To: ");
|
||||||
elm_object_part_text_set(mbe, "guide", "Tap to add recipient");
|
elm_object_part_text_set(mbe, "guide", "Tap to add recipient");
|
||||||
evas_object_size_hint_weight_set(mbe, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
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);
|
evas_object_show(scr);
|
||||||
|
|
||||||
mbe = elm_multibuttonentry_add(parent);
|
mbe = elm_multibuttonentry_add(parent);
|
||||||
|
elm_object_focus_allow_set(mbe, EINA_TRUE);
|
||||||
elm_object_text_set(mbe, "To: ");
|
elm_object_text_set(mbe, "To: ");
|
||||||
elm_object_part_text_set(mbe, "guide", "Tap to add recipient");
|
elm_object_part_text_set(mbe, "guide", "Tap to add recipient");
|
||||||
evas_object_size_hint_weight_set(mbe, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
evas_object_size_hint_weight_set(mbe, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||||
|
|
Loading…
Reference in New Issue