Layout and Flex Grow Documentation needed

Are there good samples for using expand() and setFlexGrow()? I am having real difficulty in make all the layouts fit in page (Horizontally and Vertically).

My main issue is with when I have one or two fixed sized components (width or height) and want the other components to stay responsive and expand/shrink when resizing. Things worked very well with setExpandRatio in V8.

Please advise.

I just went through a similar thing.

This link helped alot

https://css-tricks.com/snippets/css/a-guide-to-flexbox/

Thanks for the link. Will definitely try to master it, because I depend a lot on flex to keep all the content within a single page without having to scroll.

But I was hoping to see a clean Vaadin API using Vaadin Flow with examples. It is almost as if Vaadin is discouraging us from using Java to do complex formatting and layout management.