From cf4505635b5560f4e36824836803c4a71ede4411 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 28 Sep 2025 08:39:59 +0200 Subject: [PATCH] toolbar: add make radius configurable --- .config/quickshell/ii/modules/common/widgets/Toolbar.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/common/widgets/Toolbar.qml b/.config/quickshell/ii/modules/common/widgets/Toolbar.qml index aa07f8230..7c7e5f922 100644 --- a/.config/quickshell/ii/modules/common/widgets/Toolbar.qml +++ b/.config/quickshell/ii/modules/common/widgets/Toolbar.qml @@ -16,6 +16,7 @@ Item { default property alias data: toolbarLayout.data implicitWidth: background.implicitWidth implicitHeight: background.implicitHeight + property alias radius: background.radius StyledRectangularShadow { target: background @@ -23,11 +24,11 @@ Item { Rectangle { id: background - anchors.centerIn: parent + anchors.fill: parent color: Appearance.m3colors.m3surfaceContainer // Needs to be opaque implicitHeight: Math.max(toolbarLayout.implicitHeight + root.padding * 2, 56) implicitWidth: toolbarLayout.implicitWidth + root.padding * 2 - radius: Appearance.rounding.full + radius: height / 2 RowLayout { id: toolbarLayout