forked from enlightenment/efl
tests/elm_focus: explicitly set widgets to expand+fill in test
Summary: some widgets do not create a minimum size for themselves, resulting in a 0x0 layout which can affect tests that rely on object visibility to succeed without errors Depends on D9007 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9008
This commit is contained in:
parent
45ce932593
commit
57dc7cec55
|
@ -168,6 +168,8 @@ EFL_START_TEST(elm_test_widget_focus_simple_widget)
|
||||||
for (int i = 0; simple_widgets[i].name; ++i)
|
for (int i = 0; simple_widgets[i].name; ++i)
|
||||||
{
|
{
|
||||||
o = simple_widgets[i].constructor(win);
|
o = simple_widgets[i].constructor(win);
|
||||||
|
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||||
|
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||||
elm_box_pack_end(box, o);
|
elm_box_pack_end(box, o);
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue