summaryrefslogtreecommitdiff
path: root/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
diff options
context:
space:
mode:
authorgabeszm <vgabor92@protonmail.com>2026-10-01 21:02:47 +0200
committergabeszm <vgabor92@protonmail.com>2026-10-01 21:02:47 +0200
commitae2eb9d0881e3ef8317fb5476e03b9e599439660 (patch)
treea6ee42f95ca925a3fde29a8c445b197729a70472 /raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
parent159a44375e4dca8079c0e89d1634213f631984b3 (diff)
downloadRaveOS-PKGBUILD-ae2eb9d0881e3ef8317fb5476e03b9e599439660.tar.gz
RaveOS-PKGBUILD-ae2eb9d0881e3ef8317fb5476e03b9e599439660.zip
fix sddm ui
Diffstat (limited to 'raveos-sddm-theme/sddm-rave-theme/Components/Input.qml')
-rw-r--r--raveos-sddm-theme/sddm-rave-theme/Components/Input.qml35
1 files changed, 19 insertions, 16 deletions
diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml b/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
index daf3ba0..fd29314 100644
--- a/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
+++ b/raveos-sddm-theme/sddm-rave-theme/Components/Input.qml
@@ -1,5 +1,5 @@
-// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme
-// Copyright (C) 2022-2025 Keyitdev
+// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme
+// Copyright (C) 2026 gabeszm
// Based on https://github.com/MarianArlt/sddm-sugar-dark
// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html
@@ -71,7 +71,7 @@ Column {
Item {
id: avatarField
- height: Math.min(root.font.pointSize * 6.5, parent.width * 0.35)
+ height: Math.min(root.font.pointSize * 7.0, parent.width * 0.35)
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -81,7 +81,7 @@ Column {
function resolveIconCandidates(idx, name) {
var list = []
var count = (typeof userModel !== "undefined" && userModel) ? userModel.count : 0
-
+
var uIndex = -1
if (name && name !== "" && count > 0) {
for (var i = 0; i < count; i++) {
@@ -297,7 +297,7 @@ Column {
Item {
id: usernameField
- height: root.font.pointSize * 3.8
+ height: root.font.pointSize * 4.1
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -408,7 +408,7 @@ Column {
text: usernameField.selectedUsername
color: config.LoginFieldTextColor
font.bold: true
- font.pointSize: root.font.pointSize * 0.95
+ font.pointSize: root.font.pointSize * 0.82
font.family: root.font.family
style: Text.Raised
styleColor: Qt.rgba(0, 0, 0, 0.40)
@@ -629,7 +629,7 @@ Column {
text: model.name || ""
color: "#ffffff"
font.bold: true
- font.pointSize: root.font.pointSize * 0.85
+ font.pointSize: root.font.pointSize * 0.78
font.family: root.font.family
style: Text.Raised
styleColor: Qt.rgba(0, 0, 0, 0.40)
@@ -638,7 +638,7 @@ Column {
Text {
text: (model.realName && model.realName !== model.name) ? model.realName : ""
color: Qt.rgba(1, 1, 1, 0.65)
- font.pointSize: root.font.pointSize * 0.70
+ font.pointSize: root.font.pointSize * 0.65
font.family: root.font.family
visible: text !== ""
}
@@ -662,7 +662,7 @@ Column {
Item {
id: passwordField
- height: root.font.pointSize * 3.8
+ height: root.font.pointSize * 4.1
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -747,6 +747,8 @@ Column {
horizontalAlignment: TextInput.AlignHCenter
font.bold: true
+ font.pointSize: root.font.pointSize * 0.82
+ font.family: root.font.family
color: config.PasswordFieldTextColor
focus: config.PasswordFocus == "true" ? true : false
echoMode: passwordIcon.checked ? TextInput.Normal : TextInput.Password
@@ -810,7 +812,7 @@ Column {
Item {
id: login
- height: root.font.pointSize * 4.2
+ height: root.font.pointSize * 4.5
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
@@ -876,7 +878,7 @@ Column {
anchors.centerIn: parent
font.bold: true
- font.pointSize: root.font.pointSize
+ font.pointSize: root.font.pointSize * 0.82
font.family: root.font.family
color: "#ffffff"
style: Text.Raised
@@ -903,18 +905,19 @@ Column {
Item {
id: powerButtonsRow
- height: root.font.pointSize * 5.5
+ height: root.font.pointSize * 7.6
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
Row {
anchors.horizontalCenter: parent.horizontalCenter
- anchors.verticalCenter: parent.verticalCenter
- spacing: root.font.pointSize * 1.5
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: root.font.pointSize * 0.3
+ spacing: root.font.pointSize * 1.8
// Reboot gomb
Column {
- spacing: root.font.pointSize * 0.45
+ spacing: root.font.pointSize * 0.5
Item {
width: root.font.pointSize * 4.2
@@ -978,7 +981,7 @@ Column {
// Shutdown gomb
Column {
- spacing: root.font.pointSize * 0.45
+ spacing: root.font.pointSize * 0.5
Item {
width: root.font.pointSize * 4.2