Wrap an itemdelegate.

This commit is contained in:
Black
2020-02-12 01:06:03 -08:00
parent 6d6266f03c
commit d3b926bc8e
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import org.kde.kirigami 2.4 as Kirigami
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 {
pixelSize: Kirigami.Theme.defaultFont.pixelSize * 1.2

View File

@@ -4,7 +4,7 @@ import QtQuick.Layouts 1.12
import org.kde.kirigami 2.4 as Kirigami
Controls.Control {
Controls.ItemDelegate {
default property alias innerObject : column.children
horizontalPadding: Kirigami.Units.largeSpacing