Set WrapMode on TextArea component
Upstream styles do not provide any wrapping by default, and thus we should not rely on deceptively convenient override in qqc2-desktop-style. See https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/331
This commit is contained in:
parent
b19267598e
commit
ba9acbc735
1 changed files with 1 additions and 0 deletions
|
@ -352,6 +352,7 @@ PlasmaComponents.ListItem
|
||||||
PlasmaComponents3.TextArea {
|
PlasmaComponents3.TextArea {
|
||||||
id: replyTextField
|
id: replyTextField
|
||||||
placeholderText: i18nc("@info:placeholder", "Reply to %1…", appName)
|
placeholderText: i18nc("@info:placeholder", "Reply to %1…", appName)
|
||||||
|
wrapMode: TextEdit.Wrap
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Keys.onPressed: {
|
Keys.onPressed: {
|
||||||
if ((event.key == Qt.Key_Return || event.key == Qt.Key_Enter) && !(event.modifiers & Qt.ShiftModifier)) {
|
if ((event.key == Qt.Key_Return || event.key == Qt.Key_Enter) && !(event.modifiers & Qt.ShiftModifier)) {
|
||||||
|
|
Loading…
Reference in a new issue