On Oct 25, 2010, at 2:09 AM, Fraser Burns wrote:
> The grid appears to position itself correctly and in a 2:1 proportion.
> The issue is that the TextBoxes are not expanding to fill the space. ie
> column #1 does not expand or is it the text box does not expand to match
> the column.
Two things: you have to add the textboxes to the grid sizer with the
'expand' parameter. Also, you have to call setColExpand() *after* you have
added controls to the grid sizer, because technically when it is first defined
it has no columns. Generally, add the controls to the grid sizer, and then call
setColExpand() for whatever columns you want to be "growable".
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]