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

@@ -81,9 +81,9 @@ Item {
Layout.fillWidth: true
font.pixelSize: 16 * scaleRatio
font.family: Style.fontLight.name
font.family: MoneroComponents.Style.fontLight.name
color: Style.defaultFontColor
color: MoneroComponents.Style.defaultFontColor
}
TextField {
@@ -94,13 +94,13 @@ Item {
anchors.left: parent.left
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
font.family: Style.fontLight.name
font.family: MoneroComponents.Style.fontLight.name
font.pixelSize: 24 * scaleRatio
KeyNavigation.tab: okButton
bottomPadding: 10
leftPadding: 10
topPadding: 10
color: Style.defaultFontColor
color: MoneroComponents.Style.defaultFontColor
background: Rectangle {
radius: 2