View Full Version : use table layout with 2x2 cell matrix that fills the available space

15 Sep 2009, 5:16 AM
I have a table layout which contains 2 columns x 2 rows... right now the cells are sized to contain their panel. I want the 4 cells to fill the available space (all the same size).

I can probably do this by nesting hbox and vbox layouts and using stretch properties- but i should be able to do this with table correct?


15 Sep 2009, 5:19 AM
No. Table layout is not a sizing layout.

Best to use a vbox layout with two Containers in it, each of which uses hbox to arrange its two children.

15 Sep 2009, 5:36 AM