Commit e18d5f73 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

osd/volume: Don't use padding in SwipeListItem to fix warnings

parent 5519abd8
Pipeline #196231 passed with stage
in 1 minute and 18 seconds
......@@ -72,6 +72,7 @@ ColumnLayout {
level: 2
text: i18n("Outputs")
Layout.fillWidth: true
Layout.topMargin: PlasmaCore.Units.smallSpacing
Layout.leftMargin: PlasmaCore.Units.smallSpacing
}
......@@ -82,6 +83,7 @@ ColumnLayout {
model: paSinkFilterModel
delegate: DeviceListItem {
Layout.fillWidth: true
Layout.margins: PlasmaCore.Units.smallSpacing
type: "sink"
onlyone: sinkView.count === 1
}
......@@ -100,6 +102,7 @@ ColumnLayout {
level: 2
text: i18n("Inputs")
Layout.fillWidth: true
Layout.topMargin: PlasmaCore.Units.smallSpacing
Layout.leftMargin: PlasmaCore.Units.smallSpacing
}
......@@ -110,6 +113,7 @@ ColumnLayout {
model: paSourceFilterModel
delegate: DeviceListItem {
Layout.fillWidth: true
Layout.margins: PlasmaCore.Units.smallSpacing
type: "source"
onlyone: sinkView.count === 1
}
......@@ -129,6 +133,7 @@ ColumnLayout {
level: 2
text: i18n("Playback Streams")
Layout.fillWidth: true
Layout.topMargin: PlasmaCore.Units.smallSpacing
Layout.leftMargin: PlasmaCore.Units.smallSpacing
}
......@@ -142,6 +147,7 @@ ColumnLayout {
}
delegate: StreamListItem {
Layout.fillWidth: true
Layout.margins: PlasmaCore.Units.smallSpacing
width: sourceOutputView.width
type: "sink-input"
devicesModel: sourceView.model
......@@ -159,6 +165,7 @@ ColumnLayout {
delegate: StreamListItem {
Layout.fillWidth: true
Layout.margins: PlasmaCore.Units.smallSpacing
width: sourceOutputView.width
type: "sink-input"
devicesModel: sourceView.model
......@@ -179,6 +186,7 @@ ColumnLayout {
level: 2
text: i18n("Recording Streams")
Layout.fillWidth: true
Layout.topMargin: PlasmaCore.Units.smallSpacing
Layout.leftMargin: PlasmaCore.Units.smallSpacing
}
......@@ -192,6 +200,7 @@ ColumnLayout {
}
delegate: StreamListItem {
Layout.fillWidth: true
Layout.margins: PlasmaCore.Units.smallSpacing
width: sourceOutputView.width
type: "source-output"
devicesModel: sourceView.model
......
......@@ -31,11 +31,6 @@ Kirigami.SwipeListItem {
property alias iconUsesPlasmaTheme: clientIcon.usesPlasmaTheme
property string type // sink, source, source-output
topPadding: PlasmaCore.Units.smallSpacing
bottomPadding: PlasmaCore.Units.smallSpacing
leftPadding: PlasmaCore.Units.smallSpacing
rightPadding: PlasmaCore.Units.smallSpacing
alwaysVisibleActions: true
backgroundColor: "transparent" // we use panel background, no need for the same colour to be on top
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment