Update main.qml fonts

Changed all fonts to be size 8 Helvetica, since that's what the GTK theme uses
This commit is contained in:
Nick G. 2025-01-25 15:51:03 -05:00 committed by GitHub
parent 31a357c0ee
commit f4f731f824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,8 +135,8 @@ Rectangle {
color: "#ffffff" color: "#ffffff"
font.bold: true font.bold: true
text: "Enter Network Password" text: "Enter Network Password"
font.family: "Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
} }
Image { Image {
Layout.column: 1 Layout.column: 1
@ -198,8 +198,8 @@ Rectangle {
id: message_text id: message_text
color: "#000000" color: "#000000"
text: "Enter your network password for Microsoft Networking." text: "Enter your network password for Microsoft Networking."
font.family: "Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
} }
GridLayout { GridLayout {
Layout.topMargin: 15 Layout.topMargin: 15
@ -209,8 +209,8 @@ Rectangle {
Label { Label {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: textConstants.userName text: textConstants.userName
font.family: "Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
color: "#000000" color: "#000000"
} }
@ -219,8 +219,8 @@ Rectangle {
text: userModel.lastUser text: userModel.lastUser
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: font.pixelSize + 15 Layout.preferredHeight: font.pixelSize + 15
font.family: "Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
color: "#000000" color: "#000000"
background: BorderImage { background: BorderImage {
@ -236,8 +236,8 @@ Rectangle {
Label { Label {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: textConstants.password text: textConstants.password
font.family: "Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
color: "#000000" color: "#000000"
} }
@ -246,8 +246,8 @@ Rectangle {
echoMode: TextInput.Password echoMode: TextInput.Password
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: font.pixelSize + 15 Layout.preferredHeight: font.pixelSize + 15
font.family: "Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
color: "#000000" color: "#000000"
background: BorderImage { background: BorderImage {
border.left: 2 border.left: 2
@ -299,8 +299,8 @@ Rectangle {
Text { Text {
color: "#000000" color: "#000000"
text: "OK" text: "OK"
font.family: "Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
opacity: ok_button.enabled ? 1 : 0.5 opacity: ok_button.enabled ? 1 : 0.5
} }
} }
@ -335,9 +335,9 @@ Rectangle {
Text { Text {
color: "#000000" color: "#000000"
text: "Cancel" text: "Cancel"
font.family: "Sans" font.family: "Helvetica"
opacity: shutdown_button.enabled ? 1 : 0.5 opacity: shutdown_button.enabled ? 1 : 0.5
font.pixelSize: 12 font.pixelSize: 8
} }
} }
onClicked: sddm.powerOff() onClicked: sddm.powerOff()
@ -360,8 +360,8 @@ Rectangle {
Layout.preferredWidth:50 Layout.preferredWidth:50
elide: Label.ElideRight elide: Label.ElideRight
font.family: "Liberation Sans" font.family: "Helvetica"
font.pixelSize: 12 font.pixelSize: 8
color: "#000000" color: "#000000"
} }
Image { Image {