From f68ca5d76ead42bc9bd529cf41642caba20c6d40 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sun, 12 Nov 2017 18:07:22 +0100 Subject: [PATCH] Add property fontBold to Labels, change default color --- components/Label.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Label.qml b/components/Label.qml index 76b13c05..3de0eadb 100644 --- a/components/Label.qml +++ b/components/Label.qml @@ -36,6 +36,7 @@ Item { property alias textFormat: label.textFormat property string tipText: "" property int fontSize: 16 * scaleRatio + property bool fontBold: false property alias wrapMode: label.wrapMode property alias horizontalAlignment: label.horizontalAlignment signal linkActivated() @@ -50,7 +51,8 @@ Item { anchors.left: parent.left font.family: "Arial" font.pixelSize: fontSize - color: "#555555" + font.bold: fontBold + color: "white" onLinkActivated: item.linkActivated() }