mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-03 22:35:45 +02:00
about: fix offscreen modal bug on scaled multi-monitor
Change-Id: Id39e14ac93b68a2c8d069e5a4d2ac5e3aa07f140
This commit is contained in:
parent
ec2eae0830
commit
b335146dfe
3 changed files with 10 additions and 9 deletions
|
@ -523,6 +523,9 @@ Window {
|
|||
|
||||
AboutPopUp {
|
||||
id: aboutPopUpDialog
|
||||
|
||||
height: Math.min(preferredHeight,
|
||||
mainViewWindow.height - JamiTheme.preferredMarginSize * 2)
|
||||
}
|
||||
|
||||
WelcomePageQrDialog {
|
||||
|
|
|
@ -25,12 +25,10 @@ import net.jami.Adapters 1.0
|
|||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
BaseDialog {
|
||||
ModalPopup {
|
||||
id: root
|
||||
|
||||
height: aboutPopUpContentRectColumnLayout.implicitHeight
|
||||
|
||||
title: qsTr("About")
|
||||
property alias preferredHeight: aboutPopUpContentRectColumnLayout.implicitHeight
|
||||
|
||||
ProjectCreditsScrollView {
|
||||
id: projectCreditsScrollView
|
||||
|
@ -70,13 +68,13 @@ BaseDialog {
|
|||
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
|
||||
ResponsiveImage {
|
||||
Image {
|
||||
id: aboutPopUPJamiLogoImage
|
||||
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.topMargin: JamiTheme.preferredMarginSize
|
||||
Layout.preferredWidth: contentRect.width
|
||||
Layout.preferredHeight: 100
|
||||
Layout.preferredWidth: 250
|
||||
Layout.preferredHeight: 88
|
||||
|
||||
smooth: true
|
||||
antialiasing: true
|
||||
|
@ -289,7 +287,7 @@ BaseDialog {
|
|||
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.preferredWidth: contentRect.width - JamiTheme.preferredMarginSize * 2
|
||||
Layout.preferredHeight: 150
|
||||
Layout.preferredHeight: 128
|
||||
Layout.margins: JamiTheme.preferredMarginSize
|
||||
|
||||
initialItem: changeLogScrollView
|
||||
|
|
|
@ -41,7 +41,7 @@ ScrollView {
|
|||
readOnly: true
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
font.pointSize: JamiTheme.textFontSize - 3
|
||||
font.pointSize: JamiTheme.textFontSize
|
||||
text: UtilsAdapter.getProjectCredits()
|
||||
textFormat: TextEdit.RichText
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue