From 51c40e4f3b3dc7b0a20140090a3f1b776a5f118b Mon Sep 17 00:00:00 2001 From: Filip Fila Date: Tue, 21 May 2019 19:17:19 +0200 Subject: [PATCH] [sddm-theme] Revert bad hack for spacing in action buttons and use a proper solution Summary: Merge remote-tracking branch 'origin/Plasma/5.16' Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D21321 --- sddm-theme/Main.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sddm-theme/Main.qml b/sddm-theme/Main.qml index 46ab3932a..791dfb8fe 100644 --- a/sddm-theme/Main.qml +++ b/sddm-theme/Main.qml @@ -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...")