From bb2529460bf9bd5fb02033f122370ae11dee306a Mon Sep 17 00:00:00 2001 From: "moneromooo.monero" Date: Sun, 16 Oct 2016 21:25:19 +0100 Subject: [PATCH] add hint texts to address and payment id fields --- pages/History.qml | 1 + pages/Receive.qml | 2 +- pages/Transfer.qml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/History.qml b/pages/History.qml index f0d991ee..adca6457 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -111,6 +111,7 @@ Rectangle { anchors.leftMargin: 17 anchors.rightMargin: 17 anchors.topMargin: 5 + placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString } diff --git a/pages/Receive.qml b/pages/Receive.qml index dcb72fd7..eff59629 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -146,7 +146,7 @@ Rectangle { LineEdit { id: paymentIdLine fontSize: mainLayout.lineEditFontSize - placeholderText: qsTr("Payment ID here") + translationManager.emptyString; + placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString; readOnly: false width: mainLayout.editWidth diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 3921b1ef..cc2feecc 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -189,6 +189,7 @@ Rectangle { anchors.leftMargin: 17 anchors.rightMargin: 17 anchors.topMargin: 5 + placeholderText: "4..." // validator: RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g } } @@ -213,6 +214,7 @@ Rectangle { anchors.leftMargin: 17 anchors.rightMargin: 17 anchors.topMargin: 5 + placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString // validator: DoubleValidator { top: 0.0 } }