Commit c0b79e8c authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

core, fix display on android the screen was half white

It makes sense to start GCompris using all the available screen area.
parent d6cc2ad0
......@@ -43,9 +43,9 @@ import "qrc:/gcompris/src/core/core.js" as Core
*/
Window {
id: main
// Start in 500x500 window adapted to the screen aspect ratio
width: Math.min(Screen.width, 500 * (Screen.width / Screen.height) * ApplicationInfo.ratio)
height: Math.max(Screen.height, 500 * ApplicationInfo.ratio)
// Start in window mode at full screen size
width: Screen.width
height: Screen.height
minimumWidth: 400 * ApplicationInfo.ratio
minimumHeight: 400 * ApplicationInfo.ratio
title: "GCompris"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment