fix: Set app minimum width to 1200

This commit is contained in:
Alex Jbanca 2023-03-14 12:59:51 +02:00 committed by Alex Jbanca
parent 1f3aef3a0b
commit 338ad61093
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ StatusWindow {
id: applicationWindow
objectName: "mainWindow"
minimumWidth: 900
minimumWidth: 1200
minimumHeight: 680
color: Style.current.background
title: {
@ -71,8 +71,8 @@ StatusWindow {
if (visibility === Window.Windowed) {
applicationWindow.x = geometry.x;
applicationWindow.y = geometry.y;
applicationWindow.width = geometry.width;
applicationWindow.height = geometry.height;
applicationWindow.width = Math.max(geometry.width, applicationWindow.minimumWidth)
applicationWindow.height = Math.max(geometry.height, applicationWindow.minimumHeight)
}
}