fix(StatusBaseInput): ensure wrapmode works as expectefd in multiline mode

Closes #324
This commit is contained in:
Pascal Precht 2021-08-16 14:12:42 +02:00 committed by Pascal Precht
parent ea6743a776
commit 0243852c63
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ Item {
font.family: Theme.palette.baseFont.name
color: Theme.palette.directColor1
onCursorRectangleChanged: flick.ensureVisible(cursorRectangle)
wrapMode: TextEdit.NoWrap
wrapMode: statusBaseInput.multiline ? Text.WrapAtWordBoundaryOrAnywhere : TextEdit.NoWrap
Keys.onReturnPressed: {
if (multiline) {