Re: BoxLayout making component too big
- From: "John McGrath" <ng@xxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 19:04:35 GMT
On 4/29/2005 at 4:02:06 AM, Nomak wrote:
> the buttons have a "good" size, they don't fill all the panel.
A BoxLayout will *try* to fill the container that it lays out, but it will
also respect the preferred, minimum, and maximum sizes of the components
in the container. If they do not fill the container at their maximum
sizes, it will leave the extra space at the end.
--
Regards,
John McGrath
.
- References:
- BoxLayout making component too big
- From: Nomak
- Re: BoxLayout making component too big
- From: John McGrath
- Re: BoxLayout making component too big
- From: Nomak
- BoxLayout making component too big
- Prev by Date: Re: Java gui control for incrementing and decrementing a field?
- Next by Date: Re: "standards" for tooltips?
- Previous by thread: Re: BoxLayout making component too big
- Next by thread: Toggle Button for AWT
- Index(es):