Disabling font properties to reactivate native OS font size.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2022-10-19 01:53:53 +02:00
parent b519e34016
commit e7ba1d9ff5
Signed by: Ad5001
GPG key ID: 7251B1AF90B960F9

View file

@ -145,7 +145,7 @@ Item {
height: parent.height height: parent.height
verticalAlignment: TextInput.AlignVCenter verticalAlignment: TextInput.AlignVCenter
horizontalAlignment: control.label == "" ? TextInput.AlignLeft : TextInput.AlignHCenter horizontalAlignment: control.label == "" ? TextInput.AlignLeft : TextInput.AlignHCenter
font.pixelSize: 14 //font.pixelSize: 14
text: control.defValue text: control.defValue
color: "transparent"//sysPalette.windowText color: "transparent"//sysPalette.windowText
focus: true focus: true
@ -183,7 +183,7 @@ Item {
textFormat: Text.StyledText textFormat: Text.StyledText
text: colorize(editor.text) text: colorize(editor.text)
color: sysPalette.windowText color: sysPalette.windowText
font.pixelSize: parent.font.pixelSize //font.pixelSize: parent.font.pixelSize
//opacity: editor.activeFocus ? 0 : 1 //opacity: editor.activeFocus ? 0 : 1
} }
} }