Fix gallery ScrollView sizing so Slider and Composed render

This commit is contained in:
Ryan Hughes
2026-05-17 22:52:28 -04:00
parent 6b915926b2
commit 2167bdbe95
@@ -102,13 +102,14 @@ Item {
} }
ScrollView { ScrollView {
id: scrollArea
anchors.fill: parent anchors.fill: parent
anchors.margins: 18 anchors.margins: 18
clip: true clip: true
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
Column { Column {
width: parent.width - 24 width: scrollArea.availableWidth
spacing: 22 spacing: 22
// ---- Header ------------------------------------------------------ // ---- Header ------------------------------------------------------
@@ -514,6 +515,7 @@ Item {
} }
} }
// ---- Slider ------------------------------------------------------ // ---- Slider ------------------------------------------------------
Column { Column {
width: parent.width width: parent.width