From 0243852c63f81c434f830c0147e663251e378982 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 --- src/StatusQ/Controls/StatusBaseInput.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StatusQ/Controls/StatusBaseInput.qml b/src/StatusQ/Controls/StatusBaseInput.qml index b3a8ef89..1c38b9d8 100644 --- a/src/StatusQ/Controls/StatusBaseInput.qml +++ b/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) {