From ff4b63d1bea07d2a118b7c73ec1e7a82174d96cd Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Mon, 14 Jun 2021 16:36:14 -0600 Subject: [PATCH] [sddm-theme] Correct log in button width for passwordless account case Follow-up to f0487a25d166e02db71eb3154197a93714b30345 --- sddm-theme/Login.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sddm-theme/Login.qml b/sddm-theme/Login.qml index 94a97f04d..dff905a22 100644 --- a/sddm-theme/Login.qml +++ b/sddm-theme/Login.qml @@ -115,7 +115,7 @@ SessionManagementScreen { id: loginButton Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Log In") Layout.preferredHeight: passwordBox.implicitHeight - Layout.preferredWidth: loginButton.Layout.preferredHeight + Layout.preferredWidth: text.length == 0 ? loginButton.Layout.preferredHeight : undefined icon.name: text.length == 0 ? "go-next" : ""