mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
AboutJami button : text scale with text size
GitLab: #1348 Change-Id: I442b4ca074113ca4460757780b1bcc0b1675a35e
This commit is contained in:
parent
70ce0c091e
commit
ad29993e17
1 changed files with 1 additions and 3 deletions
|
@ -261,16 +261,14 @@ ListSelectionView {
|
||||||
TextMetrics {
|
TextMetrics {
|
||||||
id: textSize
|
id: textSize
|
||||||
font.weight: Font.Bold
|
font.weight: Font.Bold
|
||||||
font.pixelSize: 20
|
|
||||||
font.capitalization: Font.AllUppercase
|
font.capitalization: Font.AllUppercase
|
||||||
text: aboutJami.text
|
text: aboutJami.text
|
||||||
}
|
}
|
||||||
|
|
||||||
tertiary: true
|
tertiary: true
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
preferredWidth: textSize.width
|
preferredWidth: text.width
|
||||||
text: JamiStrings.aboutJami
|
text: JamiStrings.aboutJami
|
||||||
fontSize: 12
|
|
||||||
|
|
||||||
onClicked: viewCoordinator.presentDialog(appWindow, "mainview/components/AboutPopUp.qml")
|
onClicked: viewCoordinator.presentDialog(appWindow, "mainview/components/AboutPopUp.qml")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue