fix(StatusBaseInput): ensure wrapmode works as expectefd in multiline mode
Closes #324
This commit is contained in:
parent
ea6743a776
commit
0243852c63
|
@ -142,7 +142,7 @@ Item {
|
||||||
font.family: Theme.palette.baseFont.name
|
font.family: Theme.palette.baseFont.name
|
||||||
color: Theme.palette.directColor1
|
color: Theme.palette.directColor1
|
||||||
onCursorRectangleChanged: flick.ensureVisible(cursorRectangle)
|
onCursorRectangleChanged: flick.ensureVisible(cursorRectangle)
|
||||||
wrapMode: TextEdit.NoWrap
|
wrapMode: statusBaseInput.multiline ? Text.WrapAtWordBoundaryOrAnywhere : TextEdit.NoWrap
|
||||||
|
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
if (multiline) {
|
if (multiline) {
|
||||||
|
|
Loading…
Reference in New Issue