From e577af65d3e535fb17db8a5940704879dc157733 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sat, 4 May 2024 00:36:34 +0200 Subject: [PATCH] Fix micro spacing inconsistency in SpaceHierarchyDelegate Exposing index allows RoundedItemDelegate to use a consistent padding for the first and last item in the listview. (cherry picked from commit 18c9376992071d830ba70766ee88136a7b313ebe) --- src/qml/SpaceHierarchyDelegate.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qml/SpaceHierarchyDelegate.qml b/src/qml/SpaceHierarchyDelegate.qml index 04906ea2e..4d09755f0 100644 --- a/src/qml/SpaceHierarchyDelegate.qml +++ b/src/qml/SpaceHierarchyDelegate.qml @@ -13,6 +13,8 @@ import org.kde.neochat Item { id: root + + required property int index required property TreeView treeView required property bool isTreeNode required property bool expanded