Browse Source

QGCTextField: fix forcing the use of virtual numeric keyboard

QGC4.4
Hamza ZOGHMAR 1 year ago committed by Don Gagne
parent
commit
10394d60a9
  1. 4
      src/QmlControls/QGCTextField.qml

4
src/QmlControls/QGCTextField.qml

@ -13,8 +13,8 @@ TextField { @@ -13,8 +13,8 @@ TextField {
activeFocusOnPress: true
antialiasing: true
inputMethodHints: numericValuesOnly && !ScreenTools.isiOS ?
Qt.ImhNone : // iOS numeric keyboard has no done button, we can't use it.
Qt.ImhFormattedNumbersOnly // Forces use of virtual numeric keyboard instead of full keyboard
Qt.ImhFormattedNumbersOnly: // Forces use of virtual numeric keyboard instead of full keyboard
Qt.ImhNone // iOS numeric keyboard has no done button, we can't use it.
property bool showUnits: false
property bool showHelp: false

Loading…
Cancel
Save