Explicitely unset font.pointSize

Avoid warnings on desktop environments
This commit is contained in:
miruka 2019-08-30 17:04:42 -04:00
parent 546761f591
commit a40b274c7d
3 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import QtQuick 2.12
Label { Label {
font.family: theme.fontFamily.sans font.family: theme.fontFamily.sans
font.pixelSize: theme.fontSize.normal font.pixelSize: theme.fontSize.normal
font.pointSize: -1
textFormat: Label.PlainText textFormat: Label.PlainText
color: theme.colors.text color: theme.colors.text

View File

@ -20,6 +20,7 @@ ScrollView {
wrapMode: TextEdit.Wrap wrapMode: TextEdit.Wrap
font.family: theme.fontFamily.sans font.family: theme.fontFamily.sans
font.pixelSize: theme.fontSize.normal font.pixelSize: theme.fontSize.normal
font.pointSize: -1
color: theme.controls.textArea.text color: theme.controls.textArea.text
background: Rectangle { background: Rectangle {

View File

@ -5,6 +5,7 @@ TextField {
id: field id: field
font.family: theme.fontFamily.sans font.family: theme.fontFamily.sans
font.pixelSize: theme.fontSize.normal font.pixelSize: theme.fontSize.normal
font.pointSize: -1
readonly property QtObject _tf: theme.controls.textField readonly property QtObject _tf: theme.controls.textField