gui: set minimum window size for KDE tiling

Add minimumWidth: 320 and minimumHeight: 240 to allow the window to
resize properly when tiled by KDE's window manager. Without explicit
minimums, Qt calculates implicit minimums from content that may be
too large for narrow tile slots.
This commit is contained in:
Levi Neely 2026-10-09 11:04:29 +02:00
parent 0b09461dea
commit fd6829479c
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ ApplicationWindow {
visible: true
width: 1000
height: 600
minimumWidth: 320
minimumHeight: 240
title: "Ollie"
font.family: theme.fontFamily || Qt.application.font.family
font.pointSize: theme.fontSize > 0 ? theme.fontSize : Qt.application.font.pointSize