mirror of
https://github.com/muesli/telephant
synced 2024-11-26 05:10:18 +00:00
Update connection dialog's dimensions
This commit is contained in:
parent
5a95a1b67f
commit
9ec44c5bca
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ ApplicationWindow {
|
|||
minimumWidth: 364
|
||||
minimumHeight: 590
|
||||
width: settings.width > 0 ? settings.width : minimumWidth * 2
|
||||
height: settings.height > 0 ? settings.height : minimumWidth * 1.5
|
||||
height: settings.height > 0 ? settings.height : minimumWidth * 1.75
|
||||
Binding on x {
|
||||
when: settings.positionX > 0
|
||||
value: settings.positionX
|
||||
|
@ -54,7 +54,7 @@ ApplicationWindow {
|
|||
id: connectDialog
|
||||
x: mainWindow.width / 2 - width / 2
|
||||
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
||||
width: 340
|
||||
width: Math.min(460, mainWindow.width - 16)
|
||||
height: 500
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue