Login  Register

Re: Fields of Generic Dialog out of the gd window

Posted by Philippe GENDRE on May 22, 2015; 5:41pm
URL: http://imagej.273.s1.nabble.com/Fields-of-Generic-Dialog-out-of-the-gd-window-tp5012904p5012918.html

Hi Curtis and Michael,

Thank you for your quick and advised replies.

The meaning of the ImageJ user I am, leads me to consider the alternative
to create two gd because this is the easiest way for me at short term. It
also makes me want to have a look on IJ2 in the future...

BR.

Philippe

2015-05-21 22:00 GMT+02:00 Michael Schmid <[hidden email]>:

> Hi Philippe,
>
> you can use addCheckboxGroup for checkboxes.
>
> For other fields, you can only use addPanel(), but then you have to care
> about all the listeners yourself, and it does not work with macros or
> IJ.run() commands (neither macro recording nor automatic decoding macro
> options).
>
> I must admit that something like a GenericDialog.stayOnLine() command is
> also on my wishlist for quite a while, typically for combining numbers and
> booleans (e.g. fixing a fit parameter for custom curve fitting code, or
> enabling/disabling a feature).
> The reason why I did not propose it yet was that I am not sure how to do
> it such that
> (1) the UI looks nice when combining different field types (numbers,
> texts, checkboxes),
> (2) and repeating field names are not a problem (e.g. if many checkboxes
> are named 'fixed', they would have to be numbered for macros fix_01, fix_02
> or so).
>
>
> Michael
> ________________________________________________________________
> On May 21, 2015, at 20:28, Philippe GENDRE wrote:
>
> > Dear List,
> >
> > If a Generic Dialog window has too much fields, some of them cannot be
> > reached because they are not displayed on the screen.
> >
> > Is there a way to adjust the fields size of a gd to the window size or to
> > arrange the different fields on several columns ?
> >
> > Best regards,
> >
> > Philippe GENDRE
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html