On 11/24/13 11:36 AM, Ed Leafe wrote: > On Nov 24, 2013, at 12:56 PM, Ricardo Aráoz <[email protected]> wrote: > >> Hi, having some trouble setting up a grid sizer. Just can't find what I'm >> doing wrong. >> I've simplified the thing down to a form with 3 rows. First and second row >> are text boxes while the third row has an edit box. I want the first two >> rows to keep their original sizes whilst the third should grow in both >> dimensions. > > That doesn't sound possible. The expansion properties apply to the entire > column or row, not to individual cells.
I've found hierarchical box sizers to be more useful for things like this. In this case you'd have an outer vertical sizer, a horizontal sizer for each row, and vertical sizers for each cell. For the last cell, do the sizer.append1x(edtBox), but for the first two, just do sizer.append(ctrl). For the horizontal row sizer, do sizer.append1x(). Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
