aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardMemoTextInput.qml
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-01-26 21:54:31 +0100
committerJaquee <jaquee.monero@gmail.com>2017-01-30 23:20:47 +0100
commitc5c2a40ef5726ffcbf3e887c88012f24987fce9e (patch)
treeada1658281b5243114c46d6e32944087b9447897 /wizard/WizardMemoTextInput.qml
parentb3232dc26f98e2a6991d40bf5311dfd49abdf9de (diff)
downloadmonzero-gui-c5c2a40ef5726ffcbf3e887c88012f24987fce9e.tar.gz
monzero-gui-c5c2a40ef5726ffcbf3e887c88012f24987fce9e.tar.xz
monzero-gui-c5c2a40ef5726ffcbf3e887c88012f24987fce9e.zip
Wizard: restore from keys
Diffstat (limited to 'wizard/WizardMemoTextInput.qml')
-rw-r--r--wizard/WizardMemoTextInput.qml14
1 files changed, 13 insertions, 1 deletions
diff --git a/wizard/WizardMemoTextInput.qml b/wizard/WizardMemoTextInput.qml
index 13540c80..dba96ada 100644
--- a/wizard/WizardMemoTextInput.qml
+++ b/wizard/WizardMemoTextInput.qml
@@ -24,15 +24,27 @@ Column {
TextEdit {
id: memoTextInput
+ property alias placeholderText: memoTextPlaceholder.text
textMargin: 8
text: ""
font.family: "Arial"
- font.pointSize: 16
+ font.pixelSize: 16
wrapMode: TextInput.Wrap
width: parent.width
selectByMouse: true
property int minimumHeight: 100
height: contentHeight > minimumHeight ? contentHeight : minimumHeight
+
+ Text {
+ id: memoTextPlaceholder
+ anchors.fill:parent
+ font.pixelSize: 16
+ anchors.margins: 8
+ font.bold:true
+ text: qsTr("Enter your 25 word mnemonic seed")
+ color: "#BABABA"
+ visible: !memoTextInput.text/* && !parent.focus*/
+ }
}
Image {
id : clipboardButton