1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-09 01:05:39 +02:00

aboutpopup: fix layout for small window

Change-Id: Iff4226180b0aa9c5ce4ae12849cd290451b6a939
GitLab: #765
This commit is contained in:
Sébastien Blin 2022-07-11 10:23:01 -04:00
parent 54687078a7
commit 47af6ffc03

View file

@ -31,8 +31,6 @@ import "../../commoncomponents"
BaseModalDialog { BaseModalDialog {
id: root id: root
width: 488
height: 560
popupContent: Rectangle { popupContent: Rectangle {
id: aboutPopUpScrollView id: aboutPopUpScrollView
@ -176,8 +174,7 @@ BaseModalDialog {
id: jamiNoneWarrantyHyperText id: jamiNoneWarrantyHyperText
Layout.alignment: Qt.AlignCenter Layout.alignment: Qt.AlignCenter
Layout.preferredWidth: 390 Layout.preferredWidth: Math.min(390, root.width)
Layout.preferredHeight: textMetricsjamiNoneWarrantyHyperText.boundingRect.height * 2
Layout.topMargin: 15 Layout.topMargin: 15
lineHeight: 1.2 lineHeight: 1.2
wrapMode: Text.WordWrap wrapMode: Text.WordWrap