diff --git a/discover/qml/ReviewDelegate.qml b/discover/qml/ReviewDelegate.qml --- a/discover/qml/ReviewDelegate.qml +++ b/discover/qml/ReviewDelegate.qml @@ -30,6 +30,10 @@ property bool separator: true signal markUseful(bool useful) + Item { + Layout.fillHeight: true + Layout.preferredWidth: Kirigami.Units.largeSpacing + } // Spacers to indent nested comments/replies Repeater { model: depth @@ -186,4 +190,8 @@ } } } + Item { + Layout.fillHeight: true + Layout.preferredWidth: Kirigami.Units.largeSpacing * 2 + } } diff --git a/discover/qml/ReviewsPage.qml b/discover/qml/ReviewsPage.qml --- a/discover/qml/ReviewsPage.qml +++ b/discover/qml/ReviewsPage.qml @@ -50,6 +50,7 @@ clip: true spacing: Kirigami.Units.smallSpacing + implicitWidth: Kirigami.Units.gridUnit * 25 cacheBuffer: Math.max(0, contentHeight) header: ColumnLayout { @@ -79,12 +80,7 @@ } delegate: ReviewDelegate { - anchors { - left: parent.left - right: parent.right - topMargin: Kirigami.Units.largeSpacing - bottomMargin: Kirigami.Units.largeSpacing - } + width: parent.width separator: index != ListView.view.count-1 onMarkUseful: page.model.markUseful(index, useful) }