mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-10-30 07:53:33 +08:00
WelcomePage: add responsive width to About button
Gitlab: #886 Change-Id: I949651c9fb2aee81b2c5183b56a416c2f681aace
This commit is contained in:
committed by
Sébastien Blin
parent
7d856899c3
commit
8520ddaa83
@ -220,10 +220,18 @@ ListSelectionView {
|
||||
|
||||
MaterialButton {
|
||||
id: aboutJami
|
||||
tertiary: true
|
||||
|
||||
TextMetrics {
|
||||
id: textSize
|
||||
font.weight: Font.Bold
|
||||
font.pixelSize: JamiTheme.wizardViewButtonFontPixelSize
|
||||
font.capitalization: Font.AllUppercase
|
||||
text: aboutJami.text
|
||||
}
|
||||
|
||||
tertiary: true
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
preferredWidth: JamiTheme.aboutButtonPreferredWidth
|
||||
preferredWidth: textSize.width + 2 * JamiTheme.buttontextWizzardPadding
|
||||
text: JamiStrings.aboutJami
|
||||
|
||||
onClicked: viewCoordinator.presentDialog(appWindow, "mainview/components/AboutPopUp.qml")
|
||||
|
||||
Reference in New Issue
Block a user