try to fix #LINQT-1605 cannot scroll in advanced settings

This commit is contained in:
Gaelle Braud 2025-01-28 17:06:21 +01:00
parent ca51d44505
commit 063cdfb33b
2 changed files with 3 additions and 0 deletions

View file

@ -124,6 +124,7 @@ Rectangle {
Repeater { Repeater {
id: contentRepeater id: contentRepeater
model: mainItem.contentModel model: mainItem.contentModel
Layout.preferredHeight: implicitHeight
delegate: ColumnLayout { delegate: ColumnLayout {
Rectangle { Rectangle {
visible: index !== 0 visible: index !== 0

View file

@ -155,6 +155,7 @@ AbstractSettingsLayout {
ColumnLayout { ColumnLayout {
spacing: 20 * DefaultStyle.dp spacing: 20 * DefaultStyle.dp
Repeater { Repeater {
Layout.preferredHeight: implicitHeight
model: PayloadTypeProxy { model: PayloadTypeProxy {
id: videoPayloadTypeProxy id: videoPayloadTypeProxy
filterType: PayloadTypeProxy.Video | PayloadTypeProxy.NotDownloadable filterType: PayloadTypeProxy.Video | PayloadTypeProxy.NotDownloadable
@ -168,6 +169,7 @@ AbstractSettingsLayout {
} }
} }
Repeater { Repeater {
Layout.preferredHeight: implicitHeight
model: PayloadTypeProxy { model: PayloadTypeProxy {
id: downloadableVideoPayloadTypeProxy id: downloadableVideoPayloadTypeProxy
filterType: PayloadTypeProxy.Video | PayloadTypeProxy.Downloadable filterType: PayloadTypeProxy.Video | PayloadTypeProxy.Downloadable