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 Michał Cieślak
parent cc96474b8e
commit 0ddfa6a1c3
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) {