Fix: Fixed fonts and some variables names.

This commit is contained in:
Keyitdev
2024-12-13 21:49:02 +01:00
parent 047cc07b4c
commit a7dd8a931e
3 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -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
+2
View File
@@ -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
+1
View File
@@ -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