Improve default window size for small screens
This commit is contained in:
parent
9a074e6097
commit
5326726c4f
|
@ -7,8 +7,8 @@ ApplicationWindow {
|
||||||
flags: Qt.WA_TranslucentBackground
|
flags: Qt.WA_TranslucentBackground
|
||||||
minimumWidth: theme ? theme.minimumSupportedWidth : 240
|
minimumWidth: theme ? theme.minimumSupportedWidth : 240
|
||||||
minimumHeight: theme ? theme.minimumSupportedHeight : 120
|
minimumHeight: theme ? theme.minimumSupportedHeight : 120
|
||||||
width: 640
|
width: Math.min(screen.width, 1152)
|
||||||
height: 480
|
height: Math.min(screen.height, 768)
|
||||||
visible: true
|
visible: true
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user