From 23c1c02a3309e8b33da2aa720f6c4b07924d6648 Mon Sep 17 00:00:00 2001 From: ATMDA Date: Sat, 15 Nov 2025 00:33:38 -0500 Subject: controlpanel: maintain proper size --- modules/controlcenter/audio/AudioPane.qml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'modules/controlcenter/audio/AudioPane.qml') diff --git a/modules/controlcenter/audio/AudioPane.qml b/modules/controlcenter/audio/AudioPane.qml index 0a7f602..d6989cd 100644 --- a/modules/controlcenter/audio/AudioPane.qml +++ b/modules/controlcenter/audio/AudioPane.qml @@ -228,11 +228,28 @@ RowLayout { Layout.fillWidth: true Layout.fillHeight: true - ColumnLayout { + StyledFlickable { + id: rightFlickable + anchors.fill: parent anchors.margins: Appearance.padding.large * 2 - spacing: Appearance.spacing.normal + flickableDirection: Flickable.VerticalFlick + contentHeight: contentLayout.implicitHeight + clip: true + + StyledScrollBar.vertical: StyledScrollBar { + flickable: rightFlickable + } + + ColumnLayout { + id: contentLayout + + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + + spacing: Appearance.spacing.normal MaterialIcon { Layout.alignment: Qt.AlignHCenter @@ -370,6 +387,7 @@ RowLayout { onMoved: Audio.setSourceVolume(value) } } + } InnerBorder { leftThickness: Appearance.padding.normal / 2 -- cgit v1.2.3-freya