Mainly testing

This commit is contained in:
=
2025-08-01 20:14:24 -05:00
parent f2b238dc3c
commit a53ff9410f
2 changed files with 19 additions and 12 deletions

View File

@@ -100,7 +100,7 @@ SessionManagementScreen {
id: passwordBox
x: -470
y: 248
width: 945
width: 825
font.pointSize: fontSize + 20
Layout.fillWidth: false
@@ -150,19 +150,26 @@ SessionManagementScreen {
}
}
PlasmaComponents3.Button {
id: loginButton
visible: false
Accessible.name: i18nd("plasma-desktop-sddm-theme", "Log In")
Layout.preferredHeight: passwordBox.implicitHeight
Layout.preferredWidth: text.length === 0 ? loginButton.Layout.preferredHeight : -1
Rectangle {
PlasmaComponents3.Button {
id: loginButton
x: 370
y: 238
width: 105
height: 73
Accessible.name: i18nd("plasma-desktop-sddm-theme", "Log In")
Layout.preferredHeight: passwordBox.implicitHeight
Layout.preferredWidth: text.length === 0 ? loginButton.Layout.preferredHeight : -1
icon.name: text.length === 0 ? (root.LayoutMirroring.enabled ? "go-previous" : "go-next") : ""
background: Rectangle {
color: "transparent"
}
text: root.showUsernamePrompt || userList.currentItem.needsPassword ? "" : i18n("Log In")
onClicked: startLogin()
Keys.onEnterPressed: clicked()
Keys.onReturnPressed: clicked()
text: root.showUsernamePrompt || userList.currentItem.needsPassword ? "" : i18n("Log In")
onClicked: startLogin()
Keys.onEnterPressed: clicked()
Keys.onReturnPressed: clicked()
}
}
}
}