wizard: replace icon with Font Awesome version

This commit is contained in:
selsta 2019-04-23 15:27:30 +02:00
parent fd230789e9
commit f9dec6e882
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -29,6 +29,7 @@
import QtQuick 2.9 import QtQuick 2.9
import QtQuick.Layouts 1.2 import QtQuick.Layouts 1.2
import QtQuick.Controls 2.0 import QtQuick.Controls 2.0
import FontAwesome 1.0
import "../js/Wizard.js" as Wizard import "../js/Wizard.js" as Wizard
import "../components" as MoneroComponents import "../components" as MoneroComponents
@ -189,13 +190,15 @@ ColumnLayout {
border.width: 1 border.width: 1
color: "transparent" color: "transparent"
Image { MoneroComponents.Label {
width: 12 * scaleRatio fontSize: 20
height: 16 * scaleRatio text: FontAwesome.lock
source: "qrc:///images/lockIcon.png" opacity: 0.5
anchors.verticalCenter: parent.verticalCenter fontFamily: FontAwesome.fontFamily
anchors.right: parent.right 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 border.width: 1
color: "transparent" color: "transparent"
Image { MoneroComponents.Label {
width: 12 fontSize: 20
height: 16 text: FontAwesome.lock
source: "qrc:///images/lockIcon.png" opacity: 0.5
anchors.verticalCenter: parent.verticalCenter fontFamily: FontAwesome.fontFamily
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: 20 anchors.rightMargin: 15
anchors.verticalCenter: parent.verticalCenter
anchors.verticalCenterOffset: 3
} }
} }
} }