Re: Irregular layout of radio buttons

2010-11-08 Thread vincent habchi
Le 8 nov. 2010 à 22:22, Lee Ann Rucker a écrit : > It is annoying that you can't do it; Java let you make a group of radio > buttons without affecting their layout. Well… I've banned Java from my world a long time ago! :) > We have several places where we need this, so I created a custom NSView

Re: Irregular layout of radio buttons

2010-11-08 Thread Lee Ann Rucker
On Nov 8, 2010, at 11:17 AM, vincent habchi wrote: > Le 8 nov. 2010 à 18:35, Keary Suska a écrit : > >> Well, kind of. You can still use radio buttons--you will simply have to >> mimic the "radio" effect across the unrelated buttons. Not difficult >> really... > > Indeed, that's not very hard

Re: Irregular layout of radio buttons

2010-11-08 Thread vincent habchi
Quincey: > Ah, I see -- I think. You're saying that the radio buttons are aligned > normally (left alignment), but are unevenly spaced vertically due to > interspersed auxiliary controls for each button? That's correct. > In that case, I agree that you still have proper radio button behavior,

Re: Irregular layout of radio buttons

2010-11-08 Thread Quincey Morris
On Nov 8, 2010, at 11:16, vincent habchi wrote: > What I have is a set of mutually exclusive options, but each one enables a > box that is located right under them, giving the user the possibility to > enter parameters needed by the option (s)he selected. For example, imagine it > is a French ;

Re: Irregular layout of radio buttons

2010-11-08 Thread vincent habchi
Le 8 nov. 2010 à 18:35, Keary Suska a écrit : > Well, kind of. You can still use radio buttons--you will simply have to mimic > the "radio" effect across the unrelated buttons. Not difficult really... Indeed, that's not very hard to do. But I just expected to be able to define radio button grou

Re: Irregular layout of radio buttons

2010-11-08 Thread vincent habchi
Quincey: > It sounds like you're trying to do something roughly analogous to pins in > MapKit. That is, you have a number of indicators, only one of which is in > some kind of distinguished state. I think it's a mistake to think of these as > radio buttons, even though radio button sets also ha

Re: Irregular layout of radio buttons

2010-11-08 Thread Quincey Morris
On Nov 8, 2010, at 07:01, Vincent Habchi wrote: > roughly, I would like to set up a view with radio buttons laid out on random > places (well, actually not random, but from the buttons point of view, yes). > I suppose I can't use a NSMatrix, so I'll have to use regular buttons > (mimicking radi

Re: Irregular layout of radio buttons

2010-11-08 Thread Keary Suska
On Nov 8, 2010, at 8:01 AM, Vincent Habchi wrote: > Hi everybody, > > roughly, I would like to set up a view with radio buttons laid out on random > places (well, actually not random, but from the buttons point of view, yes). > I suppose I can't use a NSMatrix, so I'll have to use regular butto

Irregular layout of radio buttons

2010-11-08 Thread Vincent Habchi
Hi everybody, roughly, I would like to set up a view with radio buttons laid out on random places (well, actually not random, but from the buttons point of view, yes). I suppose I can't use a NSMatrix, so I'll have to use regular buttons (mimicking radio ones) and simulate radio behavior in my