From 7e747d18bf2a42ab16789675d6bce3f570b5349a Mon Sep 17 00:00:00 2001 From: Sir Blob Date: Sun, 27 Sep 2026 01:29:15 +0000 Subject: [PATCH] Move the login username above the password field and reformat the date --- default/sddm/blob/Main.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/default/sddm/blob/Main.qml b/default/sddm/blob/Main.qml index 273f5cf..3b0dc58 100644 --- a/default/sddm/blob/Main.qml +++ b/default/sddm/blob/Main.qml @@ -127,7 +127,7 @@ Rectangle { Column { id: clockColumn anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: inputField.top + anchors.bottom: usernameLabel.visible ? usernameLabel.top : inputField.top anchors.bottomMargin: root.sectionGap Text { @@ -140,7 +140,7 @@ Rectangle { Text { anchors.horizontalCenter: parent.horizontalCenter - text: Qt.formatDate(clock.now, "dddd, d MMMM") + text: Qt.formatDate(clock.now, "dddd, MMMM d") color: root.placeholderColor font.family: root.fontFamily font.pixelSize: root.dateFontSize @@ -206,14 +206,15 @@ Rectangle { } Text { + id: usernameLabel anchors.horizontalCenter: parent.horizontalCenter - anchors.top: inputField.bottom - anchors.topMargin: 20 + anchors.bottom: inputField.top + anchors.bottomMargin: 16 visible: !root.enteringUsername text: root.username color: userArea.containsMouse ? root.textColor : root.placeholderColor font.family: root.fontFamily - font.pixelSize: root.smallFontSize + font.pixelSize: root.fieldFontSize MouseArea { id: userArea