From 47af6ffc034e8d78ef42f957454356d11a803f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= Date: Mon, 11 Jul 2022 10:23:01 -0400 Subject: [PATCH] aboutpopup: fix layout for small window Change-Id: Iff4226180b0aa9c5ce4ae12849cd290451b6a939 GitLab: #765 --- src/app/mainview/components/AboutPopUp.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/mainview/components/AboutPopUp.qml b/src/app/mainview/components/AboutPopUp.qml index e7c58349..f6168713 100644 --- a/src/app/mainview/components/AboutPopUp.qml +++ b/src/app/mainview/components/AboutPopUp.qml @@ -31,8 +31,6 @@ import "../../commoncomponents" BaseModalDialog { id: root - width: 488 - height: 560 popupContent: Rectangle { id: aboutPopUpScrollView @@ -176,8 +174,7 @@ BaseModalDialog { id: jamiNoneWarrantyHyperText Layout.alignment: Qt.AlignCenter - Layout.preferredWidth: 390 - Layout.preferredHeight: textMetricsjamiNoneWarrantyHyperText.boundingRect.height * 2 + Layout.preferredWidth: Math.min(390, root.width) Layout.topMargin: 15 lineHeight: 1.2 wrapMode: Text.WordWrap