From bc375c354abee8132ca1bb585c8c5ca99f7f9eba Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Sat, 18 Jul 2020 16:40:42 +0200 Subject: Make window not resizeable --- main.qml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'main.qml') diff --git a/main.qml b/main.qml index 31ebb0d..20a1da6 100644 --- a/main.qml +++ b/main.qml @@ -3,11 +3,21 @@ import QtQuick.Window 2.2 import QtQuick.Extras 1.4 import QtQuick.Controls 2.3 + Window { - id: window - visible: true width: 400 height: 125 + + // Make window not resizeable + maximumHeight: height + maximumWidth: width + + // Make window not resizeable + minimumHeight: height + minimumWidth: width + + id: window + visible: true opacity: 1 title: qsTr("Remote Support for your Desktop") -- cgit v1.2.3