Explicitly import MoneroComponents; prevent namespace pollution

This commit is contained in:
Sander Ferdinand
2018-03-31 03:25:20 +02:00
parent 959c2fcc32
commit e638ed0272
28 changed files with 151 additions and 146 deletions

View File

@@ -28,7 +28,8 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
import "." 1.0
import "../components" as MoneroComponents
Item {
id: inlineButton
@@ -51,7 +52,7 @@ Item {
Rectangle{
id: rect
color: Style.buttonBackgroundColorDisabled
color: MoneroComponents.Style.buttonBackgroundColorDisabled
border.color: "black"
height: 28 * scaleRatio
width: inlineText.width + 22 * scaleRatio
@@ -62,7 +63,7 @@ Item {
Text {
id: inlineText
font.family: Style.fontBold.name
font.family: MoneroComponents.Style.fontBold.name
font.bold: true
font.pixelSize: 16 * scaleRatio
color: "black"