Irregularly laid-out RadioButtons in Cocoa

Mikuro

Crotchety UI Nitpicker
I'm still fairly new to Cocoa, so forgive me if this is a basic question, but...

I can't figure out how to create a group of radio buttons with arbitrary placement. With NSMatrix, they're always in neat rows and columns. And if I create each button individually (by dragging a check box from the tool palette and then changing its type to NSRadioButton), they're not "linked" — that is to say, activating one doesn't deactivate the others — and I can't find any way to link them up.

I know I could add code to manually deactivate every button whenever a different one is pressed, but that just seems ridiculously un-Cocoa-y, so I figure there must be a simpler way I'm just not seeing. I can't find anything helpful in the docs, though.

Any advice on how I should go about doing this?
 
Back
Top