diff --git a/ui/qml/OutlineView.qml b/ui/qml/OutlineView.qml index 3b8e112..c073b30 100644 --- a/ui/qml/OutlineView.qml +++ b/ui/qml/OutlineView.qml @@ -10,6 +10,9 @@ TreeView { id: tree clip: true + // Force TreeView to calculate row heights per-row instead of using a fixed height + rowHeightProvider: function(row) { return -1 } // -1 means "use delegate's implicitHeight" + readonly property int rowPad: 6 readonly property int baseFontSize: theme.fontSize > 0 ? theme.fontSize : 12