mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 06:47:01 +00:00
fix(StatusBaseInput): ensure wrapmode works as expectefd in multiline mode
Closes #324
This commit is contained in:
parent
cc96474b8e
commit
0ddfa6a1c3
@ -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…
x
Reference in New Issue
Block a user