aboutsummaryrefslogtreecommitdiff
path: root/components/StandardDialog.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-24 20:48:19 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:04 +0100
commitc001e312410efe8f883bb5163e5554d84126c034 (patch)
treeac37a3679b9e15f2b558ea2438d60c1caf759b41 /components/StandardDialog.qml
parent3f9926487d37e5338ac6490fc81fdcf35caa708d (diff)
downloadmonzero-gui-c001e312410efe8f883bb5163e5554d84126c034.tar.gz
monzero-gui-c001e312410efe8f883bb5163e5554d84126c034.tar.xz
monzero-gui-c001e312410efe8f883bb5163e5554d84126c034.zip
Fixes runtime QML warning
Diffstat (limited to 'components/StandardDialog.qml')
-rw-r--r--components/StandardDialog.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml
index 44c7c784..5f761ae4 100644
--- a/components/StandardDialog.qml
+++ b/components/StandardDialog.qml
@@ -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