From 711638c7d255401539078e1534e6bdb75e39803d Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Thu, 25 Nov 2021 10:17:45 +0000 Subject: Elm_tests: resize windows according to elm scale Summary: On laptop with 4K display, windows are too small, so resize windows according to elm scale Test Plan: elm_tests Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12307 --- src/bin/elementary/test_icon_desktops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bin/elementary/test_icon_desktops.c') diff --git a/src/bin/elementary/test_icon_desktops.c b/src/bin/elementary/test_icon_desktops.c index 6ab9511162..9d3cd12322 100644 --- a/src/bin/elementary/test_icon_desktops.c +++ b/src/bin/elementary/test_icon_desktops.c @@ -101,6 +101,7 @@ test_icon_desktops(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e #endif elm_genlist_item_class_free(it_desk); - evas_object_resize(win, 320, 480); + evas_object_resize(win, 320 * elm_config_scale_get(), + 480 * elm_config_scale_get()); evas_object_show(win); } -- cgit v1.2.1