diff options
| author | ATMDA <atdma2600@gmail.com> | 2025-11-19 13:21:18 -0500 |
|---|---|---|
| committer | ATMDA <atdma2600@gmail.com> | 2025-11-19 13:21:18 -0500 |
| commit | d3ecbc1b647ee7cf074a8f06384d68168657d9c6 (patch) | |
| tree | 88ccd1efc0e8d80e795efcaa8ebe5801bd7c6b77 /modules/controlcenter | |
| parent | refactor: PaneTransition now component (diff) | |
| download | caelestia-shell-d3ecbc1b647ee7cf074a8f06384d68168657d9c6.tar.gz caelestia-shell-d3ecbc1b647ee7cf074a8f06384d68168657d9c6.tar.bz2 caelestia-shell-d3ecbc1b647ee7cf074a8f06384d68168657d9c6.zip | |
controlcenter: correcting margins/padding after refactor
Diffstat (limited to '')
| -rw-r--r-- | modules/controlcenter/audio/AudioPane.qml | 38 | ||||
| -rw-r--r-- | modules/controlcenter/bluetooth/BtPane.qml | 1 | ||||
| -rw-r--r-- | modules/controlcenter/network/NetworkingPane.qml | 1 |
3 files changed, 14 insertions, 26 deletions
diff --git a/modules/controlcenter/audio/AudioPane.qml b/modules/controlcenter/audio/AudioPane.qml index dc3ba56..02cda5b 100644 --- a/modules/controlcenter/audio/AudioPane.qml +++ b/modules/controlcenter/audio/AudioPane.qml @@ -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 - anchors.fill: parent - flickableDirection: Flickable.VerticalFlick - contentHeight: contentLayout.height + StyledFlickable { + id: rightAudioFlickable + 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 { } } } - } -}
\ No newline at end of file + }
\ No newline at end of file diff --git a/modules/controlcenter/bluetooth/BtPane.qml b/modules/controlcenter/bluetooth/BtPane.qml index 9d0a4c1..c20f14b 100644 --- a/modules/controlcenter/bluetooth/BtPane.qml +++ b/modules/controlcenter/bluetooth/BtPane.qml @@ -50,7 +50,6 @@ Item { id: rightLoader anchors.fill: parent - anchors.margins: Appearance.padding.large * 2 asynchronous: true sourceComponent: rightBtPane.targetComponent diff --git a/modules/controlcenter/network/NetworkingPane.qml b/modules/controlcenter/network/NetworkingPane.qml index 127a42a..9a7a4e1 100644 --- a/modules/controlcenter/network/NetworkingPane.qml +++ b/modules/controlcenter/network/NetworkingPane.qml @@ -480,7 +480,6 @@ Item { id: rightLoader anchors.fill: parent - anchors.margins: Appearance.padding.large * 2 opacity: 1 scale: 1 |