Fix gallery ScrollView sizing so Slider and Composed render
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user