summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:32:06 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:04 -0400
commit772f48bdac84fce5a71ea2aca74d3f63c0507e98 (patch)
treec76708727bbb45a3196a06f9fbbc189a658dfc41
parent3cafd53212497bf31dfa64b9dcf681f86404123f (diff)
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
-rw-r--r--src/tests/elementary/elm_test_widget_focus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_widget_focus.c b/src/tests/elementary/elm_test_widget_focus.c
index e4e04a1dc2..0fb0a797a2 100644
--- a/src/tests/elementary/elm_test_widget_focus.c
+++ b/src/tests/elementary/elm_test_widget_focus.c
@@ -168,6 +168,8 @@ EFL_START_TEST(elm_test_widget_focus_simple_widget)
168 for (int i = 0; simple_widgets[i].name; ++i) 168 for (int i = 0; simple_widgets[i].name; ++i)
169 { 169 {
170 o = simple_widgets[i].constructor(win); 170 o = simple_widgets[i].constructor(win);
171 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
172 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
171 elm_box_pack_end(box, o); 173 elm_box_pack_end(box, o);
172 evas_object_show(o); 174 evas_object_show(o);
173 175