Explicitely unset font.pointSize
Avoid warnings on desktop environments
This commit is contained in:
parent
546761f591
commit
a40b274c7d
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user