nathank Posted January 17, 2011 Share Posted January 17, 2011 I have been trying to create multiple columns of items with a fixed height, but variable width (so they expand evenly to fill the width of the window). I've tried putting them in gridbox, and in rows of hboxes all contained within a vbox (and a few other variations), but in every case the items expand to fill both height and width. Any suggestions how I should structure the ui to get the pattern I'm after? Link to comment
danni.coy Posted January 17, 2011 Share Posted January 17, 2011 I have been trying to create multiple columns of items with a fixed height, but variable width (so they expand evenly to fill the width of the window). I've tried putting them in gridbox, and in rows of hboxes all contained within a vbox (and a few other variations), but in every case the items expand to fill both height and width. Any suggestions how I should structure the ui to get the pattern I'm after? A nested pair of vbox elements seems to do the trick. Have a look at the UI files in the editor for an example of doing this. Link to comment
nathank Posted January 18, 2011 Author Share Posted January 18, 2011 Awesome, that's working perfectly. I guess the inner vbox just cancels out the expand on the outer one. Thanx Danni. Link to comment
Recommended Posts