Yes. this was exactly correct. I should have figured it out on my own...
···
On Tue, 06 Feb 2007 16:34:36 -0800, Robin Dunn <robin@alldunn.com> wrote:
Tim Roberts wrote:
Here's the issue. I expected that the cells in the grid bag sizer would
expand horizontally to fill the panel, but that's not happening. The
cells are the size they are, and there is a chunk of empty space to the
right. Have I missed some step? Is there a way for me to say "this
sizer should fully occupy its parent"?The EXPAND flag basically means that the item should fill the space
allotted to it, but it doesn't have any affect on changing how the
sizer behaves outside of that space. So as mentioned by others you
need to tell the sizer which rows/cols that you want to be growable.
Then when the sizer is given more space than it needs for the min size
it divides up that extra space among the growable rows/cols.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.