I have a Window of some specific size. I set as its content (setContent()) a VerticalLayout that has two components that should adjust to changes in the Window size (both have setSizeFull() set and after adding, their expandRatio is set to 0.5f) and one component (a button) that should always be at the bottom. The first adjustable component is a Grid and the second is a CustomLayout.
The CustomLayout is giving me a headache The HTML template for it is very simple (stolen directly from Vaadin doc on CustomLayout):
[code]
Part Category Name: | |
Type: | |
Matching Names |
I have no idea what is going on! The method setExpandRatio() is not available on a CustomLayout, so Iโm at a loss for what to do. Help.
Oh, the above HTML uses some CSS, but I think thatโs pretty harmless. Just including it below for completeness:
.loginview .labels {text-align:right;}
.loginview .fields {padding:5px 0px 2px 3px;}
Thanks a bunch for any guidance.
tom