Use the spacing property for the spacing between Button/ToolButton icons and labels
This commit is contained in:
parent
7838a4ecc9
commit
4980e4e985
@ -26,6 +26,8 @@ T.Button {
|
||||
rightPadding: background.rightMargin
|
||||
bottomPadding: background.bottomMargin
|
||||
|
||||
spacing: PlasmaCore.Units.smallSpacing
|
||||
|
||||
hoverEnabled: !Kirigami.Settings.tabletMode
|
||||
|
||||
Kirigami.MnemonicData.enabled: control.enabled && control.visible
|
||||
|
@ -26,6 +26,8 @@ T.ToolButton {
|
||||
rightPadding: background.rightMargin
|
||||
bottomPadding: background.bottomMargin
|
||||
|
||||
spacing: PlasmaCore.Units.smallSpacing
|
||||
|
||||
hoverEnabled: !Kirigami.Settings.tabletMode
|
||||
|
||||
Kirigami.MnemonicData.enabled: control.enabled && control.visible
|
||||
|
@ -20,6 +20,9 @@ GridLayout {
|
||||
PlasmaCore.ColorScope.inherit: true
|
||||
|
||||
columns: parent.display == T.Button.TextBesideIcon ? 2 : 1
|
||||
|
||||
rowSpacing: parent.spacing
|
||||
columnSpacing: rowSpacing
|
||||
|
||||
PlasmaCore.IconItem {
|
||||
id: icon
|
||||
|
Loading…
Reference in New Issue
Block a user