Fix micro spacing inconsistency in SpaceHierarchyDelegate

Exposing index allows RoundedItemDelegate to use a consistent padding
for the first and last item in the listview.
This commit is contained in:
Carl Schwan
2024-05-04 00:36:34 +02:00
parent 3a4aca7fbd
commit 18c9376992

View File

@@ -13,6 +13,8 @@ import org.kde.neochat
Item { Item {
id: root id: root
required property int index
required property TreeView treeView required property TreeView treeView
required property bool isTreeNode required property bool isTreeNode
required property bool expanded required property bool expanded