summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ClassicDetailFlickable.ui.qml (renamed from ClassicDetailScrollView.ui.qml)4
1 files changed, 3 insertions, 1 deletions
diff --git a/ClassicDetailScrollView.ui.qml b/ClassicDetailFlickable.ui.qml
index 802c739..8bbdb0f 100644
--- a/ClassicDetailScrollView.ui.qml
+++ b/ClassicDetailFlickable.ui.qml
@@ -1,10 +1,12 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-ScrollView {
+Flickable {
property string cardImageSource
+ contentHeight: card.height
DetailCardItem {
+ id: card
imageSource: cardImageSource
anchors {
top: parent.top