Wrap an itemdelegate.
This commit is contained in:
@@ -4,7 +4,7 @@ import org.kde.kirigami 2.4 as Kirigami
|
|||||||
|
|
||||||
|
|
||||||
TextEdit {
|
TextEdit {
|
||||||
text: "<style>pre {white-space: pre-wrap} a{color: " + Kirigami.Theme.linkColor + ";} .user-pill{}</style>" + display
|
text: "<style>pre {white-space: pre-wrap} a{color: " + Kirigami.Theme.linkColor + ";} .user-pill{}</style>" + model.display
|
||||||
|
|
||||||
font {
|
font {
|
||||||
pixelSize: Kirigami.Theme.defaultFont.pixelSize * 1.2
|
pixelSize: Kirigami.Theme.defaultFont.pixelSize * 1.2
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import QtQuick.Layouts 1.12
|
|||||||
|
|
||||||
import org.kde.kirigami 2.4 as Kirigami
|
import org.kde.kirigami 2.4 as Kirigami
|
||||||
|
|
||||||
Controls.Control {
|
Controls.ItemDelegate {
|
||||||
default property alias innerObject : column.children
|
default property alias innerObject : column.children
|
||||||
|
|
||||||
horizontalPadding: Kirigami.Units.largeSpacing
|
horizontalPadding: Kirigami.Units.largeSpacing
|
||||||
|
|||||||
Reference in New Issue
Block a user