Commit c92a33c2 authored by Filip Fila's avatar Filip Fila 🌆

[sddm-theme] Add spacing between action buttons' labels

Summary: Currently there is no spacing between the labels of action buttons, leading to crammed text with longer translations which are not split up into more rows.

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D21279
parent 467637c7
......@@ -205,6 +205,10 @@ PlasmaCore.ColorScope {
enabled: sddm.canSuspend
visible: !inputPanel.keyboardActive
},
Item { // spacer
width: units.largeSpacing / 2
height: width
},
ActionButton {
iconSource: "system-reboot"
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Restart")
......@@ -212,6 +216,10 @@ PlasmaCore.ColorScope {
enabled: sddm.canReboot
visible: !inputPanel.keyboardActive
},
Item { // spacer
width: units.largeSpacing / 2
height: width
},
ActionButton {
iconSource: "system-shutdown"
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down")
......@@ -219,6 +227,10 @@ PlasmaCore.ColorScope {
enabled: sddm.canPowerOff
visible: !inputPanel.keyboardActive
},
Item { // spacer
width: units.largeSpacing / 2
height: width
},
ActionButton {
iconSource: "system-user-prompt"
text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "For switching to a username and password prompt", "Other...")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment