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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user