Login  Register

Re: is there a way to make a two-column GenericDialog ?

Posted by Albert Cardona on Oct 29, 2005; 6:22pm
URL: http://imagej.273.s1.nabble.com/is-there-a-way-to-make-a-two-column-GenericDialog-tp3704576p3704577.html

Wayne,

I'd be nice to have an automatic multi-column management when the
dialog has too many items to fit in the screen.

Of course one can always make several dialogs, but then that is
unconvenient when most of the given options don't have to change at
all, particularly after they have been set the first time the dialog
was called. Further each user has a different screen resolution, so
it's hard to foresee when the dialog will have the "OK" button beyond
the screen.

A quick and dirty fix would be to put the whole panel in a ScrollPane
with automatic bars, and limit the height of the window to the screen
height.

Also I noted the GenericDialog is deaf to "ESC" for canceling, which
would be convenient.

Albert