aboutsummaryrefslogtreecommitdiff
path: root/components/Label.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
commite638ed0272ca042f3ad77b680665a91ed8a35cce (patch)
tree1c91223dd243221d644a0b22d2dc94563b264fdf /components/Label.qml
parent959c2fcc32d515f90cb39933689a37418197a095 (diff)
downloadmonzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/Label.qml')
-rw-r--r--components/Label.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/Label.qml b/components/Label.qml
index b77a614c..11d43fa3 100644
--- a/components/Label.qml
+++ b/components/Label.qml
@@ -29,7 +29,7 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
-import "." 1.0
+import "../components" as MoneroComponents
Item {
id: item
@@ -39,7 +39,7 @@ Item {
property string tipText: ""
property int fontSize: 16 * scaleRatio
property bool fontBold: false
- property string fontColor: Style.defaultFontColor
+ property string fontColor: MoneroComponents.Style.defaultFontColor
property string fontFamily: ""
property alias wrapMode: label.wrapMode
property alias horizontalAlignment: label.horizontalAlignment
@@ -57,7 +57,7 @@ Item {
if(fontFamily){
return fontFamily;
} else {
- return Style.fontRegular.name;
+ return MoneroComponents.Style.fontRegular.name;
}
}
font.pixelSize: fontSize