1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-09 19:43:31 +02:00

AboutJami button : text scale with text size

GitLab: #1348
Change-Id: I442b4ca074113ca4460757780b1bcc0b1675a35e
This commit is contained in:
cberthet 2023-09-26 11:15:10 -04:00
parent 70ce0c091e
commit ad29993e17

View file

@ -261,16 +261,14 @@ ListSelectionView {
TextMetrics {
id: textSize
font.weight: Font.Bold
font.pixelSize: 20
font.capitalization: Font.AllUppercase
text: aboutJami.text
}
tertiary: true
anchors.horizontalCenter: parent.horizontalCenter
preferredWidth: textSize.width
preferredWidth: text.width
text: JamiStrings.aboutJami
fontSize: 12
onClicked: viewCoordinator.presentDialog(appWindow, "mainview/components/AboutPopUp.qml")
}