Fwd: extend length of popup menu in (NonBlocking)GenericDialog?

Posted by Kenneth Sloan-2 on
URL: http://imagej.273.s1.nabble.com/Fwd-extend-length-of-popup-menu-in-NonBlocking-GenericDialog-tp5022259.html

never got a request to confirm.  Trying again
--
Kenneth Sloan
[hidden email]
Vision is the art of seeing what is invisible to others.





> Begin forwarded message:
>
> From: Kenneth Sloan <[hidden email]>
> Subject: extend length of popup menu in (NonBlocking)GenericDialog?
> Date: June 20, 2019 at 12:00:42 PDT
> To: ImageJ Interest Group <[hidden email]>
>
> context: JAVA plugin (not macro)
>
> I am using a NonBlockingGenericDialog.  I use addChoice() to create a popup menu item.  My list of options is longer than the default menu size.  Can I modify the size of the menu to eliminate scrolling by the user?
>
> Here's the relevant snippet of Java code:
>
>   NonBlockingGenericDialog nbgd = new NonBlockingGenericDialog("annotate");
>                    nbgd.addChoice("LRP feature",knownRetinalLayers,null);
>                    nbgd.addStringField("other/modifier","");
>                    nbgd.setLocation(dialogLocationX,dialogLocationY);
>                    nbgd.showDialog();
>
> My list of labels currently has 16 entries.  I would like for ALL of them to appear when the user pulls down the menu.
>
>
> --
> Kenneth Sloan
> [hidden email] <mailto:[hidden email]>
> Vision is the art of seeing what is invisible to others.
>
>
>
>
>


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