forked from enlightenment/efl
elementary: Set window size based on scale
This commit is contained in:
parent
086bd74da9
commit
c47b5a364c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue