fix: Set app minimum width to 1200
This commit is contained in:
parent
1f3aef3a0b
commit
338ad61093
|
@ -25,7 +25,7 @@ StatusWindow {
|
||||||
|
|
||||||
id: applicationWindow
|
id: applicationWindow
|
||||||
objectName: "mainWindow"
|
objectName: "mainWindow"
|
||||||
minimumWidth: 900
|
minimumWidth: 1200
|
||||||
minimumHeight: 680
|
minimumHeight: 680
|
||||||
color: Style.current.background
|
color: Style.current.background
|
||||||
title: {
|
title: {
|
||||||
|
@ -71,8 +71,8 @@ StatusWindow {
|
||||||
if (visibility === Window.Windowed) {
|
if (visibility === Window.Windowed) {
|
||||||
applicationWindow.x = geometry.x;
|
applicationWindow.x = geometry.x;
|
||||||
applicationWindow.y = geometry.y;
|
applicationWindow.y = geometry.y;
|
||||||
applicationWindow.width = geometry.width;
|
applicationWindow.width = Math.max(geometry.width, applicationWindow.minimumWidth)
|
||||||
applicationWindow.height = geometry.height;
|
applicationWindow.height = Math.max(geometry.height, applicationWindow.minimumHeight)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue