Reputation: 1
For context I created a Row of two radio buttons, which worked perfect but I wanted to create a custom radio button component to reduce code, and when I did the Row doesnt even see the custom radio button as its child for some reason, any idea why ? Here is part of the code
Row{
spacing: 70
id: row
Components.MyRadioButton{
id: rb2
pText: "male"
pColor: "gray"
pPixelSize: 20
}
Rectangle{
width:100
height: 100
color: "yellow"
}
Rectangle{
width:100
height: 100
color: "red"
}
}
Upvotes: 0
Views: 66