awt.Choice - how to prevent automatic resizing?
Hi,
I have a Choice menu with some long names inside. The menu resizes itself
automatically to fit the length of the longest item, and ignores the size
I set to it by SetBounds().
How can I keep it with a fixed size? (when opening the menu the list can
get wider, just keep a fixed size when it's closed).
The automatic resizing messes up the look of my window...
thanks,
Noa
Re: awt.Choice - how to prevent automatic resizing?
"Noa" <noa_yissar@yahoo.com> wrote:
>
>Hi,
>I have a Choice menu with some long names inside. The menu resizes itself
>automatically to fit the length of the longest item, and ignores the size
>I set to it by SetBounds().
>How can I keep it with a fixed size? (when opening the menu the list can
>get wider, just keep a fixed size when it's closed).
>The automatic resizing messes up the look of my window...
>
>thanks,
>Noa
setting the layout manager to null?