summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSection.qml
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSection.qml')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSection.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSection.qml
index cfd972b085..5c0e84d039 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSection.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/TextInputSection.qml
@@ -114,6 +114,19 @@ Section {
}
Label {
+ visible: textInputSection.isTextInput
+ text: qsTr("Maximum length")
+ tooltip: qsTr("Sets the maximum permitted length of the text in the TextInput.")
+ }
+ SpinBox {
+ visible: textInputSection.isTextInput
+ Layout.fillWidth: true
+ backendValue: backendValues.maximumLength
+ minimumValue: 0
+ maximumValue: 32767
+ }
+
+ Label {
text: qsTr("Flags")
Layout.alignment: Qt.AlignTop
}