Enable clipping

This commit is contained in:
Swapnil Tripathi 2021-07-04 08:48:44 +05:30 committed by Bart De Vries
parent 32260be05e
commit 37a7ec6992
1 changed files with 3 additions and 1 deletions

View File

@ -64,10 +64,11 @@ Loader {
header: Kirigami.Heading {
text: qsTr("Set Playback Rate")
}
ListView {
contentItem: ListView {
id: playbackRateList
model: playbackRateModel
implicitWidth: Kirigami.Units.gridUnit * 12
clip: true
delegate: Kirigami.SwipeListItem {
id: swipeDelegate
Controls.Label {
@ -117,6 +118,7 @@ Loader {
model: playbackRateModel
Layout.fillWidth: true
Layout.fillHeight: true
clip: true
delegate: Kirigami.BasicListItem {
contentItem: Controls.Label {
text: model.name