aboutsummaryrefslogtreecommitdiff
path: root/components/CheckBox.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/CheckBox.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/CheckBox.qml')
-rw-r--r--components/CheckBox.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml
index 517917a3..4de0212f 100644
--- a/components/CheckBox.qml
+++ b/components/CheckBox.qml
@@ -28,7 +28,8 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
-import "." 1.0
+
+import "../components" as MoneroComponents
RowLayout {
id: checkBox
@@ -64,7 +65,6 @@ RowLayout {
anchors.left: parent.left
width: 25 * scaleRatio
height: checkBox.height - 1
- //radius: 4
y: 1
color: "transparent"
@@ -85,9 +85,9 @@ RowLayout {
Text {
id: label
- font.family: Style.fontRegular.name
+ font.family: MoneroComponents.Style.fontRegular.name
font.pixelSize: checkBox.fontSize
- color: Style.defaultFontColor
+ color: MoneroComponents.Style.defaultFontColor
wrapMode: Text.Wrap
Layout.fillWidth: true
anchors.left: backgroundRect.right