Commit 3a6c1f8a authored by Filip Fila's avatar Filip Fila 🌆

[sddm-theme] Revert bad hack for spacing in action buttons and use a proper solution

parent c92a33c2
......@@ -111,7 +111,7 @@ Item {
}
Row { //deliberately not rowlayout as I'm not trying to resize child items
id: actionItemsLayout
spacing: units.smallSpacing
spacing: units.largeSpacing / 2
Layout.alignment: Qt.AlignHCenter
}
Item {
......
......@@ -205,10 +205,6 @@ 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")
......@@ -216,10 +212,6 @@ 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")
......@@ -227,10 +219,6 @@ 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