stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=93d77015c4b0220ec9490e0855eef0e2f9eb4dc3
commit 93d77015c4b0220ec9490e0855eef0e2f9eb4dc3 Author: Marcel Hollerbach <m...@marcel-hollerbach.de> Date: Fri Sep 27 16:31:47 2019 +0200 test_code: do not create a background by hand the background here was wrong, it hasnt resizable hints, which means that the whole object cannot be resized. Reviewed-by: Stefan Schmidt <ste...@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10223 --- src/bin/elementary/test_code.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/bin/elementary/test_code.c b/src/bin/elementary/test_code.c index 076ef6d27d..ca26ca6cd6 100644 --- a/src/bin/elementary/test_code.c +++ b/src/bin/elementary/test_code.c @@ -6,16 +6,12 @@ static Evas_Object *_test_code_win_create(const char *id, const char *name) { - Evas_Object *win, *bg; + Evas_Object *win; - win = elm_win_add(NULL, id, ELM_WIN_BASIC); + win = elm_win_util_standard_add(id, name); elm_win_title_set(win, name); elm_win_autodel_set(win, EINA_TRUE); - bg = elm_bg_add(win); - elm_win_resize_object_add(win, bg); - evas_object_show(bg); - evas_object_resize(win, 360 * elm_config_scale_get(), 220 * elm_config_scale_get()); return win; } --