aboutsummaryrefslogtreecommitdiff
path: root/components/NewPasswordDialog.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/NewPasswordDialog.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/NewPasswordDialog.qml')
-rw-r--r--components/NewPasswordDialog.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml
index 9d4e4d20..d83364de 100644
--- a/components/NewPasswordDialog.qml
+++ b/components/NewPasswordDialog.qml
@@ -104,9 +104,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 {
@@ -116,13 +116,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
echoMode: TextInput.Password
bottomPadding: 10
leftPadding: 10
topPadding: 10
- color: Style.defaultFontColor
+ color: MoneroComponents.Style.defaultFontColor
KeyNavigation.tab: passwordInput2
background: Rectangle {
@@ -162,9 +162,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 {
@@ -174,14 +174,14 @@ 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
echoMode: TextInput.Password
KeyNavigation.tab: okButton
bottomPadding: 10
leftPadding: 10
topPadding: 10
- color: Style.defaultFontColor
+ color: MoneroComponents.Style.defaultFontColor
background: Rectangle {
radius: 2