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" : ""