Browse Source

add input method hints

patch-4
Sander van Grieken 3 years ago
parent
commit
3942745270
  1. 2
      electrum/gui/qml/components/Receive.qml
  2. 7
      electrum/gui/qml/components/SeedTextArea.qml
  3. 1
      electrum/gui/qml/components/Send.qml

2
electrum/gui/qml/components/Receive.qml

@ -39,6 +39,7 @@ Pane {
id: amount
font.family: FixedFont
Layout.fillWidth: true
inputMethodHints: Qt.ImhPreferNumbers
}
Label {
@ -82,6 +83,7 @@ Pane {
id: amountFiat
font.family: FixedFont
Layout.fillWidth: true
inputMethodHints: Qt.ImhDigitsOnly
}
Label {

7
electrum/gui/qml/components/SeedTextArea.qml

@ -7,11 +7,12 @@ TextArea {
id: seedtext
Layout.fillWidth: true
Layout.minimumHeight: 80
rightPadding: 16
leftPadding: 16
rightPadding: constants.paddingLarge
leftPadding: constants.paddingLarge
wrapMode: TextInput.WordWrap
font.bold: true
font.pixelSize: 18
font.pixelSize: constants.fontSizeLarge
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhPreferLowercase | Qt.ImhNoPredictiveText
background: Rectangle {
color: "transparent"
border.color: Material.accentColor

1
electrum/gui/qml/components/Send.qml

@ -42,6 +42,7 @@ Pane {
id: amount
font.family: FixedFont
placeholderText: qsTr('Amount')
inputMethodHints: Qt.ImhPreferNumbers
}
Label {

Loading…
Cancel
Save