Limit max height.

This commit is contained in:
Black Hat
2019-12-26 15:14:12 +08:00
parent 282b1750ef
commit 61bbc4e7dc
3 changed files with 5 additions and 5 deletions

View File

@@ -13,8 +13,8 @@ Dialog {
property var room
anchors.centerIn: parent
width: 480
height: window.height - 100
width: 360
height: Math.min(window.height - 100, 640)
id: root

View File

@@ -17,7 +17,7 @@ Dialog {
anchors.centerIn: parent
width: 480
height: window.height - 100
height: Math.min(window.height - 100, 800)
id: root

View File

@@ -13,8 +13,8 @@ Dialog {
property var connection
anchors.centerIn: parent
width: 480
height: window.height - 100
width: 360
height: Math.min(window.height - 100, 640)
id: root