Add width to device verification window

Fixes the device verification window being 0 or 1 pixels wide on some tiling window managers.
This commit is contained in:
0xDEADCADE 2023-03-21 15:02:13 +00:00 committed by GitHub
parent 7d5c0b7822
commit ac842845bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ ApplicationWindow {
minimumHeight: stack.currentItem.implicitHeight + 2 * Nheko.paddingLarge minimumHeight: stack.currentItem.implicitHeight + 2 * Nheko.paddingLarge
height: stack.currentItem.implicitHeight + 2 * Nheko.paddingMedium height: stack.currentItem.implicitHeight + 2 * Nheko.paddingMedium
minimumWidth: 400 minimumWidth: 400
width: 400
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
background: Rectangle { background: Rectangle {