From 171e1fc023c0e895a068422930a0d58d6f9afc86 Mon Sep 17 00:00:00 2001 From: mmbyday Date: Sat, 20 Apr 2019 20:05:15 -0700 Subject: Fix checking for gui updates --- components/Notifier.qml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'components') diff --git a/components/Notifier.qml b/components/Notifier.qml index 1e842e84..127de390 100644 --- a/components/Notifier.qml +++ b/components/Notifier.qml @@ -29,13 +29,14 @@ import QtQuick 2.9 import QtQuick.Controls 1.4 import moneroComponents.Wallet 1.0 +import "." as MoneroComponents Item { id: item property string message: "" property bool active: false - height: 120 - width: 240 + height: 180 + width: 320 property int margin: 15 x: parent.width - width - margin y: parent.height - height * scale.yScale - margin * scale.yScale @@ -51,11 +52,12 @@ Item { backgroundVisible: false textFormat: TextEdit.AutoText anchors.fill: parent - font.family: "Arial" + font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 12 textMargin: 20 textColor: "white" text: item.message + wrapMode: Text.WrapAnywhere } } @@ -70,7 +72,7 @@ Item { Timer { id: hider - interval: 12000; running: false; repeat: false + interval: 30000; running: false; repeat: false onTriggered: { item.active = false } } -- cgit v1.2.3