From eff76eddc7a67fb31e7177a3eb766536539960fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Thu, 13 Jul 2023 09:34:48 -0400 Subject: [PATCH] buttons: remove bold effect Change-Id: Ie483a9af270990622b876ca44a975d915e458783 GitLab: #1236 --- src/app/commoncomponents/MaterialButton.qml | 2 -- src/app/wizardview/components/WelcomePage.qml | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/app/commoncomponents/MaterialButton.qml b/src/app/commoncomponents/MaterialButton.qml index d1867c9f6..c9fe94a24 100644 --- a/src/app/commoncomponents/MaterialButton.qml +++ b/src/app/commoncomponents/MaterialButton.qml @@ -27,7 +27,6 @@ AbstractButton { id: root property bool autoAccelerator: false - property bool boldFont: false property bool primary: false property bool secondary: false property bool tertiary: false @@ -167,7 +166,6 @@ AbstractButton { leftPadding: root.primary ? JamiTheme.buttontextWizzardPadding : textLeftPadding rightPadding: root.primary ? JamiTheme.buttontextWizzardPadding : textRightPadding text: root.text - font.weight: (root.hovered && root.enabled) || boldFont ? Font.Bold : Font.Medium elide: Text.ElideRight verticalAlignment: Text.AlignVCenter horizontalAlignment: root.textAlignment diff --git a/src/app/wizardview/components/WelcomePage.qml b/src/app/wizardview/components/WelcomePage.qml index 2789ee6fd..f2c50b0af 100644 --- a/src/app/wizardview/components/WelcomePage.qml +++ b/src/app/wizardview/components/WelcomePage.qml @@ -201,7 +201,6 @@ Rectangle { KeyNavigation.down: KeyNavigation.tab onClicked: { - boldFont = !boldFont; showAlreadyHave = !showAlreadyHave; showAdvanced = false; fromDeviceButton.visible = showAlreadyHave; @@ -278,7 +277,6 @@ Rectangle { KeyNavigation.down: KeyNavigation.tab onClicked: { - boldFont = !boldFont; showAdvanced = !showAdvanced; showAlreadyHave = false; newRdvButton.visible = showAdvanced; -- GitLab