[plasma/plasma-desktop] desktoppackage/contents/lockscreen: lockscreen: Fix multiline action button alignment

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 98c5d8c2175e76e13fd947d7581066f01092198d by Nate Graham, on behalf of Ramil Nurmanov.
Committed on 17/08/2026 at 03:30.
Pushed by ngraham into branch 'master'.

lockscreen: Fix multiline action button alignment

M  +3    -0    desktoppackage/contents/lockscreen/LockScreenUi.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/98c5d8c2175e76e13fd947d7581066f01092198d

diff --git a/desktoppackage/contents/lockscreen/LockScreenUi.qml b/desktoppackage/contents/lockscreen/LockScreenUi.qml
index 598369c982..c806898cb6 100644
--- a/desktoppackage/contents/lockscreen/LockScreenUi.qml
+++ b/desktoppackage/contents/lockscreen/LockScreenUi.qml
@@ -322,18 +322,21 @@ Item {
 
                 actionItems: [
                     ActionButton {
+                        Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
                         text: i18ndc("plasma_shell_org.kde.plasma.desktop", "@action:button", "Slee&p")
                         icon.name: "system-suspend"
                         onClicked: sessionManagement.suspend()
                         visible: sessionManagement.canSuspend
                     },
                     ActionButton {
+                        Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
                         text: i18ndc("plasma_shell_org.kde.plasma.desktop", "@action:button", "&Hibernate")
                         icon.name: "system-suspend-hibernate"
                         onClicked: sessionManagement.hibernate()
                         visible: sessionManagement.canHibernate
                     },
                     ActionButton {
+                        Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
                         text: i18ndc("plasma_shell_org.kde.plasma.desktop", "@action:button", "Switch &User")
                         icon.name: "system-switch-user"
                         onClicked: {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.