zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=57dc7cec55254b6d4923c3d6978bbfe2710c298e

commit 57dc7cec55254b6d4923c3d6978bbfe2710c298e
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed May 29 09:32:06 2019 -0400

    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
---
 src/tests/elementary/elm_test_widget_focus.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tests/elementary/elm_test_widget_focus.c 
b/src/tests/elementary/elm_test_widget_focus.c
index 6b8ac871ea..40753b6cc6 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)
    for (int i = 0; simple_widgets[i].name; ++i)
      {
         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);
         evas_object_show(o);
 

-- 


Reply via email to