Re: BoxLayout making component too big



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
.