add input method hints
This commit is contained in:
@@ -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,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
|
||||
|
||||
@@ -42,6 +42,7 @@ Pane {
|
||||
id: amount
|
||||
font.family: FixedFont
|
||||
placeholderText: qsTr('Amount')
|
||||
inputMethodHints: Qt.ImhPreferNumbers
|
||||
}
|
||||
|
||||
Label {
|
||||
|
||||
Reference in New Issue
Block a user