elementary: Set window size based on scale

This commit is contained in:
Andy Williams 2016-04-27 16:20:02 +01:00
parent 086bd74da9
commit c47b5a364c
2 changed files with 3 additions and 2 deletions

View File

@ -4167,7 +4167,8 @@ win_create(void)
_status_config(win, bx0);
else _status_config_full(win, bx0);
evas_object_resize(win, 320, 480);
evas_object_resize(win, 320 * elm_config_scale_get(),
480 * elm_config_scale_get());
evas_object_show(win);
}

View File

@ -940,7 +940,7 @@ add_tests:
}
/* set an initial window size */
evas_object_resize(win, 480, 480);
evas_object_resize(win, 480 * elm_config_scale_get(), 480 * elm_config_scale_get());
evas_object_show(win);
}