mirror of https://github.com/KDE/kasts.git
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:
parent
73c333cf61
commit
5a28e48be0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue