Solve problem with padding in PlayerControls

Kirigami.Page is always adding padding around the content items.  This
gives visual artifacts with the swipepage on the player controls.  Part
of the previous page was still visible because the width of the
swipepage entries is less than the width of the full Kirigami.Page that
they are part of.
This commit is contained in:
Bart De Vries 2021-04-21 15:27:42 +02:00
parent 73c333cf61
commit 5a28e48be0
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,9 @@ Kirigami.Page {
clip: true
Layout.margins: 0
padding: 0
bottomPadding: Kirigami.Units.gridUnit
ColumnLayout {
anchors.fill: parent
anchors.topMargin:0
@ -122,6 +125,8 @@ Kirigami.Page {
implicitHeight: mediaControls.height
Layout.fillWidth: true
Layout.margins: 0
Layout.leftMargin: Kirigami.Units.gridUnit
Layout.rightMargin: Kirigami.Units.gridUnit
ColumnLayout {
id: mediaControls