From 807f50088824485c13f9e5355c9c26c539a9bd16 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 3 Jun 2026 07:56:48 +0200 Subject: [PATCH] More finessing of lock screen proportions --- shell/plugins/lock/LockView.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shell/plugins/lock/LockView.qml b/shell/plugins/lock/LockView.qml index 8673efa9..5ee7f46e 100644 --- a/shell/plugins/lock/LockView.qml +++ b/shell/plugins/lock/LockView.qml @@ -18,12 +18,12 @@ Item { property bool syncingPasswordText: false readonly property string placeholderText: "Password" - readonly property int fieldWidth: 650 - readonly property int fieldHeight: 100 - readonly property int outlineThickness: 4 - readonly property int fieldFontSize: Style.font.heading - readonly property int passwordDotFontSize: Math.round(fieldFontSize * 2.0) - readonly property int passwordDotLetterSpacing: Math.round(fieldFontSize * 0.28) + readonly property int fieldWidth: 433 + readonly property int fieldHeight: 67 + readonly property int outlineThickness: 3 + readonly property int fieldFontSize: Math.round(Style.font.heading * 1.125) + readonly property int passwordDotFontSize: Math.round(Style.font.heading * 1.33) + readonly property int passwordDotLetterSpacing: Math.round(Style.font.heading * 0.19) readonly property bool showPasswordCursor: inputEnabled && !authenticatingPassword && failureMessage.length === 0 readonly property string borderToken: failureMessage.length > 0 ? "border-error" : (authenticatingPassword ? "border-active" : "border") readonly property color borderFallback: failureMessage.length > 0 ? Color.lock.borderError : (authenticatingPassword ? Color.lock.borderActive : Color.lock.border)