aboutsummaryrefslogtreecommitdiff
path: root/components/Notifier.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/Notifier.qml')
-rw-r--r--components/Notifier.qml10
1 files changed, 6 insertions, 4 deletions
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 }
}