it now works great, thank you very much for your support!
thanks a lot for help! I have deleted Group.End for RadioGroup, but I still cannot achieve the desired layout - for one static text field it worked, but not for RadioGroups or RadioGroups nested in Groups. I have tried to change different params but could not make it work.
Enclosed is the image of what I try to achieve. Any idea how to do it is appreciated!
P.S. next time I will make sure my topic is tagged properly
Hi, I have tried to design dialog box layout with two columns, each with RadioGroup inside. So I created nested level 2 groups - and it worked with static text, but when I added RadioGroups to level 2 groups, it never worked. Any idea what is wrong here?
self.GroupBegin(GROUP_ID0, c4d.BFH_SCALEFIT, 2,0)
self.GroupBegin(GROUP_ID1, c4d.BFH_SCALEFIT, 1,0)
#self.AddStaticText(id=1001,flags=c4d.BFH_LEFT,initw=100, name="Left column")
self.AddRadioGroup(RADIO_GROUP1, c4d.BFH_LEFT, 1, 0)
self.AddChild(RADIO_GROUP1, RADIO1_A, 'Option A1')
self.AddChild(RADIO_GROUP1, RADIO1_B, 'Option B1')
self.SetBool(RADIO1_A, True) # Set first radio button on.
self.GroupBegin(GROUP_ID2, c4d.BFH_SCALEFIT, 1, 0)
#self.AddStaticText(id=1002,flags=c4d.BFH_LEFT,initw=100, name="Right column")
self.AddRadioGroup(RADIO_GROUP2, c4d.BFH_LEFT, 1, 0)
self.AddChild(RADIO_GROUP2, RADIO2_A, 'Option A1')
self.AddChild(RADIO_GROUP2, RADIO2_B, 'Option B2')
self.SetBool(RADIO2_A, True) # Set first radio button on.