From ca2c6ee4700797e227c23fa4c1943160fcc85b51 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 24 May 2025 20:59:53 +0200 Subject: [PATCH] group button: cleaner default size --- .config/quickshell/modules/common/widgets/GroupButton.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/GroupButton.qml b/.config/quickshell/modules/common/widgets/GroupButton.qml index 0413cac1..f9d0195c 100644 --- a/.config/quickshell/modules/common/widgets/GroupButton.qml +++ b/.config/quickshell/modules/common/widgets/GroupButton.qml @@ -16,8 +16,8 @@ Button { property real buttonRadiusPressed: buttonRadius property var altAction property bool bounce: true - property real baseWidth: 40 - property real baseHeight: 40 + property real baseWidth: contentItem.implicitWidth + padding * 2 + property real baseHeight: contentItem.implicitHeight + padding * 2 property real clickedWidth: baseWidth + 20 property real clickedHeight: baseHeight property var parentGroup: root.parent