Commit e924691d authored by Filip Fila's avatar Filip Fila 🌆
Browse files

Set minimum window size

Kamoso currently doesn't have a minimum window size set so it can be resized into a short vertical line.

This patch sets a minimum window size that matches the 240p webcam resolution (320x240) when the toolbar is subtracted.

Test Plan:
At its smallest

At its smallest

Reviewers: apol, #vdg, #plasma, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham

Differential Revision:
parent 0610848b
......@@ -31,6 +31,8 @@ Kirigami.ApplicationWindow
visible: true
title: i18n("Kamoso")
pageStack.globalToolBar.toolbarActionAlignment: Qt.AlignCenter
minimumWidth: 320
minimumHeight: 240 + pageStack.globalToolBar.height
Component.onCompleted: {
width = 700
height = width*3/4
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment