Layouting question to avoid CSSLayout?


Somehow I don’t quite get the behavoir of Vertical/Horizontal Layouts.

Let’s say I want to have two layout columns where the first column has a fixed width (e.g. 100px) and the second column should fill out the rest of the area (i.e. 100% of the rest of the available space).

Now I can do this with expandRatio(…).

However, what if I want to have the right column with a fixed width and the left column should fill out the rest of the space. That should push the right column to the very right and expand it to for instance 100px.

How do I achieve this except with a custom CSSLayout?

Thanks for any input!

How about also using setExpandRatio but aimed at the left column?
You could also try out Gridlayout.