aboutsummaryrefslogtreecommitdiff
path: root/components/Label.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-01-21 19:14:34 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:03 +0100
commit53b5b7a5c7a7894c04bdedad345f733be1dd34b7 (patch)
tree18024138d30690ebeadf2b2f7e8137345244bc63 /components/Label.qml
parenta128581ae503649c8abac60def2a62f05e0e6e6c (diff)
downloadmonzero-gui-53b5b7a5c7a7894c04bdedad345f733be1dd34b7.tar.gz
monzero-gui-53b5b7a5c7a7894c04bdedad345f733be1dd34b7.tar.xz
monzero-gui-53b5b7a5c7a7894c04bdedad345f733be1dd34b7.zip
Fixing the start-up wizards
Diffstat (limited to 'components/Label.qml')
-rw-r--r--components/Label.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/Label.qml b/components/Label.qml
index b2c4e52f..5ad72e08 100644
--- a/components/Label.qml
+++ b/components/Label.qml
@@ -39,6 +39,8 @@ Item {
property string tipText: ""
property int fontSize: 16 * scaleRatio
property bool fontBold: false
+ property string fontColor: Style.defaultFontColor
+ property string fontFamily: Style.fontRegular.name
property alias wrapMode: label.wrapMode
property alias horizontalAlignment: label.horizontalAlignment
signal linkActivated()
@@ -53,10 +55,10 @@ Item {
anchors.bottom: parent.bottom
anchors.bottomMargin: 2 * scaleRatio
anchors.left: parent.left
- font.family: Style.fontRegular.name
+ font.family: fontFamily
font.pixelSize: fontSize
font.bold: fontBold
- color: Style.defaultFontColor
+ color: fontColor
onLinkActivated: item.linkActivated()
}