From e1840be2344466028ded429b195d39b73b1c87d0 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 16 Nov 2024 14:43:18 -0500 Subject: [PATCH] Limit the width of a user's QR code This fixes the lopsided layout in the user details dialog. (cherry picked from commit 3a9718c09dd1ede65e29d5083dcc4f44327363c5) --- src/qml/UserDetailDialog.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qml/UserDetailDialog.qml b/src/qml/UserDetailDialog.qml index 08c2a9acc..8b565a72f 100644 --- a/src/qml/UserDetailDialog.qml +++ b/src/qml/UserDetailDialog.qml @@ -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