mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-16 14:41:25 +08:00
MaterialButton: set default text padding
Non-primary buttons should have a default text padding unless manually overridden. Change-Id: Ib2f2d1ce4787906788b55daf2346bf144c8ab5fd
This commit is contained in:
committed by
Adrien Béraud
parent
45019d6ec8
commit
4839dadcf4
@@ -41,8 +41,8 @@ AbstractButton {
|
||||
property color checkedColor: JamiTheme.secAndTertiHoveredBackgroundColor
|
||||
property bool hasIcon: animatedIconSource.length !== 0 || iconSource.length !== 0
|
||||
property var preferredWidth
|
||||
property real textLeftPadding
|
||||
property real textRightPadding
|
||||
property real textLeftPadding: JamiTheme.buttontextWizzardPadding
|
||||
property real textRightPadding: JamiTheme.buttontextWizzardPadding
|
||||
property real fontSize: JamiTheme.buttontextFontPixelSize
|
||||
property real textAlignment: Text.AlignHCenter
|
||||
property real textOpacity: 1
|
||||
|
||||
@@ -333,7 +333,6 @@ Rectangle {
|
||||
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.topMargin: 2 * JamiTheme.wizardViewBlocMarginSize
|
||||
|
||||
text: JamiStrings.setPassword
|
||||
toolTipText: JamiStrings.encryptWithPassword
|
||||
|
||||
|
||||
Reference in New Issue
Block a user