Fixes runtime QML warning

This commit is contained in:
Sander Ferdinand
2018-03-24 20:48:19 +01:00
committed by moneromooo-monero
parent 3f9926487d
commit c001e31241
21 changed files with 50 additions and 38 deletions

View File

@@ -34,6 +34,8 @@ import QtQuick.Controls.Styles 1.4
import QtQuick.Window 2.0
import "../components" as MoneroComponents
import "." 1.0
Rectangle {
id: root
@@ -105,8 +107,8 @@ Rectangle {
Label {
id: dialogTitle
horizontalAlignment: Text.AlignHCenter
font.pixelSize: 18 * scaleRatio
font.family: "Arial"
fontSize: 18 * scaleRatio
fontFamily: "Arial"
color: Style.defaultFontColor
}
@@ -118,7 +120,7 @@ Rectangle {
Layout.fillWidth: true
Layout.fillHeight: true
renderType: Text.QtRendering
font.family: Style.fontLight
font.family: Style.fontLight.name
textFormat: TextEdit.AutoText
readOnly: true
font.pixelSize: 14 * scaleRatio