Skip to content

Commit ef26265

Browse files
committed
qml: Make ValueInput a TextInput instead of a TextEdit
There is no use case for a ValueInput that will be fed into a setting to be multi-line in nature
1 parent 15df21c commit ef26265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qml/controls/ValueInput.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import QtQuick 2.15
66
import QtQuick.Controls 2.15
77

8-
TextEdit {
8+
TextInput {
99
id: root
1010
required property string parentState
1111
property string description: ""
@@ -32,7 +32,7 @@ TextEdit {
3232
font.styleName: "Regular"
3333
font.pixelSize: root.descriptionSize
3434
color: root.textColor
35-
text: description
35+
text: root.description
3636
horizontalAlignment: Text.AlignRight
3737
wrapMode: Text.WordWrap
3838

0 commit comments

Comments
 (0)