From f9dec6e882275583ab0c2f08c6408badc3af3e10 Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 23 Apr 2019 15:27:30 +0200 Subject: [PATCH] wizard: replace icon with Font Awesome version --- wizard/WizardAskPassword.qml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml index 0b73ac7a..c69fcd18 100644 --- a/wizard/WizardAskPassword.qml +++ b/wizard/WizardAskPassword.qml @@ -29,6 +29,7 @@ import QtQuick 2.9 import QtQuick.Layouts 1.2 import QtQuick.Controls 2.0 +import FontAwesome 1.0 import "../js/Wizard.js" as Wizard import "../components" as MoneroComponents @@ -189,13 +190,15 @@ ColumnLayout { border.width: 1 color: "transparent" - Image { - width: 12 * scaleRatio - height: 16 * scaleRatio - source: "qrc:///images/lockIcon.png" - anchors.verticalCenter: parent.verticalCenter + MoneroComponents.Label { + fontSize: 20 + text: FontAwesome.lock + opacity: 0.5 + fontFamily: FontAwesome.fontFamily anchors.right: parent.right - anchors.rightMargin: 20 + anchors.rightMargin: 15 + anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: 3 } } } @@ -244,13 +247,15 @@ ColumnLayout { border.width: 1 color: "transparent" - Image { - width: 12 - height: 16 - source: "qrc:///images/lockIcon.png" - anchors.verticalCenter: parent.verticalCenter + MoneroComponents.Label { + fontSize: 20 + text: FontAwesome.lock + opacity: 0.5 + fontFamily: FontAwesome.fontFamily anchors.right: parent.right - anchors.rightMargin: 20 + anchors.rightMargin: 15 + anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: 3 } } }