aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2020-07-18 16:40:42 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2020-07-18 16:40:42 +0200
commitbc375c354abee8132ca1bb585c8c5ca99f7f9eba (patch)
tree14b31dcea7beccd9d8803d6707221541d07f33ff
parentff79bffc9d7cc3e4c6c934388f391dc493abe62d (diff)
downloadRWA.Support.DesktopApp-bc375c354abee8132ca1bb585c8c5ca99f7f9eba.tar.gz
RWA.Support.DesktopApp-bc375c354abee8132ca1bb585c8c5ca99f7f9eba.tar.bz2
RWA.Support.DesktopApp-bc375c354abee8132ca1bb585c8c5ca99f7f9eba.zip
Make window not resizeable
-rw-r--r--main.qml14
1 files changed, 12 insertions, 2 deletions
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")