controlcenter: correcting margins/padding after refactor
This commit is contained in:
parent
aff01f01a8
commit
d3ecbc1b64
3 changed files with 14 additions and 26 deletions
|
|
@ -216,31 +216,22 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
rightContent: Component {
|
rightContent: Component {
|
||||||
Item {
|
StyledFlickable {
|
||||||
anchors.fill: parent
|
id: rightAudioFlickable
|
||||||
anchors.topMargin: Appearance.padding.large * 2
|
flickableDirection: Flickable.VerticalFlick
|
||||||
anchors.bottomMargin: Appearance.padding.large * 2
|
contentHeight: contentLayout.height
|
||||||
anchors.leftMargin: 0
|
|
||||||
anchors.rightMargin: 0
|
|
||||||
|
|
||||||
StyledFlickable {
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
id: rightAudioFlickable
|
flickable: rightAudioFlickable
|
||||||
anchors.fill: parent
|
}
|
||||||
flickableDirection: Flickable.VerticalFlick
|
|
||||||
contentHeight: contentLayout.height
|
|
||||||
|
|
||||||
StyledScrollBar.vertical: StyledScrollBar {
|
ColumnLayout {
|
||||||
flickable: rightAudioFlickable
|
id: contentLayout
|
||||||
}
|
|
||||||
|
|
||||||
ColumnLayout {
|
anchors.left: parent.left
|
||||||
id: contentLayout
|
anchors.right: parent.right
|
||||||
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
spacing: Appearance.spacing.normal
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.leftMargin: Appearance.padding.large * 2
|
|
||||||
anchors.rightMargin: Appearance.padding.large * 2
|
|
||||||
spacing: Appearance.spacing.normal
|
|
||||||
|
|
||||||
ConnectionHeader {
|
ConnectionHeader {
|
||||||
icon: "volume_up"
|
icon: "volume_up"
|
||||||
|
|
@ -529,4 +520,3 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
@ -50,7 +50,6 @@ Item {
|
||||||
id: rightLoader
|
id: rightLoader
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Appearance.padding.large * 2
|
|
||||||
|
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
sourceComponent: rightBtPane.targetComponent
|
sourceComponent: rightBtPane.targetComponent
|
||||||
|
|
|
||||||
|
|
@ -480,7 +480,6 @@ Item {
|
||||||
id: rightLoader
|
id: rightLoader
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Appearance.padding.large * 2
|
|
||||||
|
|
||||||
opacity: 1
|
opacity: 1
|
||||||
scale: 1
|
scale: 1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue