mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Fix: Fixed fonts and some variables names.
This commit is contained in:
@@ -24,7 +24,7 @@ Column {
|
|||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
font.pointSize: root.font.pointSize * 9
|
font.pointSize: root.font.pointSize * 9
|
||||||
font.bold: true
|
font.bold: true
|
||||||
color: config.DateTextColor
|
color: config.TimeTextColor
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
function updateTime() {
|
function updateTime() {
|
||||||
text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat)
|
text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat)
|
||||||
@@ -34,7 +34,7 @@ Column {
|
|||||||
Label {
|
Label {
|
||||||
id: dateLabel
|
id: dateLabel
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
color: config.TimeTextColor
|
color: config.DateTextColor
|
||||||
font.pointSize: root.font.pointSize * 2
|
font.pointSize: root.font.pointSize * 2
|
||||||
font.bold: true
|
font.bold: true
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ Column {
|
|||||||
text: model.name
|
text: model.name
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
font.capitalization: Font.AllLowercase
|
font.capitalization: Font.AllLowercase
|
||||||
|
font.family: root.font.family
|
||||||
color: config.DropdownTextColor
|
color: config.DropdownTextColor
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
@@ -394,6 +395,7 @@ Column {
|
|||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
||||||
contentItem: Text {
|
contentItem: Text {
|
||||||
|
font.bold: true
|
||||||
text: parent.text
|
text: parent.text
|
||||||
color: config.LoginButtonTextColor
|
color: config.LoginButtonTextColor
|
||||||
font.pointSize: root.font.pointSize
|
font.pointSize: root.font.pointSize
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ Pane {
|
|||||||
text: config.TranslateVirtualKeyboardButtonOff || "Virtual Keyboard (off)"
|
text: config.TranslateVirtualKeyboardButtonOff || "Virtual Keyboard (off)"
|
||||||
color: parent.visualFocus ? config.HoverVirtualKeyboardButtonTextColor : config.VirtualKeyboardButtonTextColor
|
color: parent.visualFocus ? config.HoverVirtualKeyboardButtonTextColor : config.VirtualKeyboardButtonTextColor
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
|
font.family: root.font.family
|
||||||
}
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
id: vkbbg
|
id: vkbbg
|
||||||
|
|||||||
Reference in New Issue
Block a user