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.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
}
}
}