Limit the width of a user's QR code

This fixes the lopsided layout in the user details dialog.
This commit is contained in:
Joshua Goins
2024-11-16 14:43:18 -05:00
parent 55362c5573
commit 3a9718c09d

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