-
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks