Form layout and resizes

I’m trying to understand how to create forms with columns. One doubt that came out was “how the fields should be resize”. All right, in the start guide there is:

“layout-managed components support a “*” or value (in addition to the usual number and height percentage values) for their size on the length axis of the layout, to indicate that they should take a share of the remaining space after fixed-size components have been counted (this is the default behavior if no width/height is specified).”

So, my questions are:

  1. What is the difference between 100% and ‘*’?

  2. Is there a function to convert “*” to CSS-like?

  3. If the answer to question 2 is “yes”, can I define something like: “*-20” (I tryed this one, doesn’t work… but maybe it’s possible)

  4. If the answer to question 3 is “not possible”. Wouldn’t that be a good feature to have?

and one about columns:

How to vertically align one column to ‘top’?

100% means taking up the entire available space, while “" means: take up whats left over. I’m not sure what you mean by “CSS-like”, but things like "-20” don’t make that much sense because you have that 20 px sort of unaccounted for. To achieve that, just insert a spacer element thats 20px wide wherever you want that 20px to be.
For columns, if you’re talking about the listgrid, override ListGrid.getCellVAlign() and return any alignment string you want.