forked from Shinonome/dots-hyprland
buttongroup: fix childrencount accessing from children
This commit is contained in:
@@ -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
|
||||
}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user