Specifying layout width with a percentage value
Hi, This might be trivial but I cannot find an example from the manual or the example directory that does this. I want to put elements in a row or column layout and specify the width using a percentage value instead of an absolute pixel value. Basically it’s same as what you can do with html table. I know there’s a grid layout, but it’s not as flexible as using combination of column and row layouts. Here’s what I want to do. When I maximize the window, the space between the buttons will expand accordingly: <-----------outer-width-800-pixels----------> +-------------------------------------------+ | ratio 1:1 | |+-----------inner-width-100%--------------+| ||+---------+ |+---------+ || ||| button1 | || button2 | || ||+---------+ |+---------+ || || | || |+-----------------------------------------+| +-------------------------------------------+ This is what I have now: <-----------outer-width-800-pixels----------> +-------------------------------------------+ | ratio 1:1 | |+-----------inner-width-800-pixels--------+| ||+---------+|+---------+ || ||| button1 ||| button2 | || ||+---------+|+---------+ || |+-----------------------------------------+| +-------------------------------------------+ Thanks in advance, -- Mac