Skip to content
Snippets Groups Projects
Commit 8520ddaa authored by Xavier Jouslin de Noray's avatar Xavier Jouslin de Noray Committed by Sébastien Blin
Browse files

WelcomePage: add responsive width to About button

Gitlab: #886

Change-Id: I949651c9fb2aee81b2c5183b56a416c2f681aace
parent 7d856899
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment