From 0ddfa6a1c38bac42a98e2a0a32cff586f6eba45f Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Mon, 16 Aug 2021 14:12:42 +0200 Subject: [PATCH] fix(StatusBaseInput): ensure wrapmode works as expectefd in multiline mode Closes #324 --- ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml b/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml index b3a8ef89e0..1c38b9d8b8 100644 --- a/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml +++ b/ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml @@ -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) {