summaryrefslogtreecommitdiff
path: root/kodereviewer/qml/PullRequestPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'kodereviewer/qml/PullRequestPage.qml')
-rw-r--r--kodereviewer/qml/PullRequestPage.qml18
1 files changed, 11 insertions, 7 deletions
diff --git a/kodereviewer/qml/PullRequestPage.qml b/kodereviewer/qml/PullRequestPage.qml
index 4747203..58e044d 100644
--- a/kodereviewer/qml/PullRequestPage.qml
+++ b/kodereviewer/qml/PullRequestPage.qml
@@ -40,6 +40,7 @@ Kirigami.ScrollablePage {
clearForm()
}
}
+
Loader {
id: commentModelLoader
active: !!root.pullRequest
@@ -72,16 +73,19 @@ Kirigami.ScrollablePage {
PullRequestDescription {
visible: !!root.pullRequest && root.currentView == "info"
pullRequest: root.pullRequest
+ anchors.centerIn: parent
}
-
- ColumnLayout {
+/*
+ Kirigami.CardsListView {
visible: !!root.pullRequest && root.currentView == "comments"
- Repeater {
- model: commentModelLoader.item
- delegate: CommentDelegate {}
- }
+ anchors.fill: parent
+ // Layout.fillWidth: true
+ // Layout.fillHeight: true
+ model: commentModelLoader.item
+ delegate: CommentDelegate {}
+ footerPositioning: ListView.OverlayFooter
}
-
+*/
FilesView {
visible: !!root.pullRequest && root.currentView == "files"
fileModel: fileModelLoader.item