controlcenter: correcting margins/padding after refactor

This commit is contained in:
ATMDA 2025-11-19 13:21:18 -05:00
parent aff01f01a8
commit d3ecbc1b64
3 changed files with 14 additions and 26 deletions

View file

@ -216,31 +216,22 @@ Item {
}
rightContent: Component {
Item {
anchors.fill: parent
anchors.topMargin: Appearance.padding.large * 2
anchors.bottomMargin: Appearance.padding.large * 2
anchors.leftMargin: 0
anchors.rightMargin: 0
StyledFlickable {
id: rightAudioFlickable
flickableDirection: Flickable.VerticalFlick
contentHeight: contentLayout.height
StyledFlickable {
id: rightAudioFlickable
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
contentHeight: contentLayout.height
StyledScrollBar.vertical: StyledScrollBar {
flickable: rightAudioFlickable
}
StyledScrollBar.vertical: StyledScrollBar {
flickable: rightAudioFlickable
}
ColumnLayout {
id: contentLayout
ColumnLayout {
id: contentLayout
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: Appearance.padding.large * 2
anchors.rightMargin: Appearance.padding.large * 2
spacing: Appearance.spacing.normal
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
spacing: Appearance.spacing.normal
ConnectionHeader {
icon: "volume_up"
@ -528,5 +519,4 @@ Item {
}
}
}
}
}
}

View file

@ -50,7 +50,6 @@ Item {
id: rightLoader
anchors.fill: parent
anchors.margins: Appearance.padding.large * 2
asynchronous: true
sourceComponent: rightBtPane.targetComponent

View file

@ -480,7 +480,6 @@ Item {
id: rightLoader
anchors.fill: parent
anchors.margins: Appearance.padding.large * 2
opacity: 1
scale: 1