From c001e312410efe8f883bb5163e5554d84126c034 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sat, 24 Mar 2018 20:48:19 +0100 Subject: Fixes runtime QML warning --- components/LineEdit.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/LineEdit.qml') diff --git a/components/LineEdit.qml b/components/LineEdit.qml index 9afb5ebc..1711ee56 100644 --- a/components/LineEdit.qml +++ b/components/LineEdit.qml @@ -61,7 +61,7 @@ Item { property alias labelTextFormat: inputLabel.textFormat property string backgroundColor: "transparent" property string tipText: "" - property int labelFontSize: 14 * scaleRatio + property int labelFontSize: 16 * scaleRatio property bool labelFontBold: false property alias labelWrapMode: inputLabel.wrapMode property alias labelHorizontalAlignment: inputLabel.horizontalAlignment @@ -99,7 +99,7 @@ Item { anchors.top: parent.top anchors.left: parent.left anchors.topMargin: 2 * scaleRatio - font.family: Style.fontLight + font.family: Style.fontLight.name font.pixelSize: labelFontSize font.bold: labelFontBold textFormat: Text.RichText -- cgit v1.2.3