[sddm-theme] Correct log in button width for passwordless account case

Follow-up to f0487a25d1
wilder-5.24
Nate Graham 5 years ago
parent f0487a25d1
commit ff4b63d1be
  1. 2
      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" : ""

Loading…
Cancel
Save