Better default size for ApplicationWindow

This commit is contained in:
miruka
2019-04-22 14:02:55 -04:00
parent 33743baa12
commit 6664fc29e3
2 changed files with 4 additions and 3 deletions

View File

@@ -1,10 +1,11 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Window 2.7
ApplicationWindow {
visible: true
width: 640
height: 700
width: Math.min(Screen.width, 1152)
height: Math.min(Screen.height, 768)
Loader {
anchors.fill: parent