Limit the width of a user's QR code

This fixes the lopsided layout in the user details dialog.

(cherry picked from commit 3a9718c09d)
This commit is contained in:
Joshua Goins
2024-11-16 14:43:18 -05:00
parent d6ecaaa344
commit e1840be234

View File

@@ -75,6 +75,8 @@ Kirigami.Dialog {
QQC2.AbstractButton {
Layout.minimumHeight: avatar.height * 0.75
Layout.maximumHeight: avatar.height * 1.5
Layout.maximumWidth: avatar.height * 1.5
contentItem: Barcode {
id: barcode
barcodeType: Barcode.QRCode