diff --git a/dots/.config/quickshell/ii/modules/common/widgets/ButtonGroup.qml b/dots/.config/quickshell/ii/modules/common/widgets/ButtonGroup.qml index 32cd5e04f..d3c9114eb 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/ButtonGroup.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/ButtonGroup.qml @@ -13,8 +13,8 @@ Rectangle { property alias uniformCellSizes: rowLayout.uniformCellSizes property real spacing: 5 property real padding: 0 - property int clickIndex: rowLayout.clickIndex - property int childrenCount: rowLayout.children.length + property alias clickIndex: rowLayout.clickIndex + property alias childrenCount: rowLayout.childrenCount property real contentWidth: { let total = 0; @@ -44,5 +44,6 @@ Rectangle { anchors.margins: root.padding spacing: root.spacing property int clickIndex: -1 + property int childrenCount: children.length }] }