Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Expand Ration is not working
HorizontalLayout formLayout = new HorizontalLayout();
formLayout.setSizeFull();
formLayout.addStyleName("form-layout");
layout.addComponent(formLayout);
layout.setExpandRatio(formLayout, 1.0f);
FormLayout coopInfo = new FormLayout();
formLayout.addComponent(coopInfo);
ComboBox coopName = new ComboBox();
coopName.setCaption("Coop name");
coopInfo.addComponent(coopName);
TextField coopNumber = new TextField();
coopNumber.setCaption("Coop #");
coopInfo.addComponent(coopNumber);
What is the issue? Expand ratio 1.0f will let the component accomodate all the space. Are other components not shown in the screen?
yes.. instead the component that I set to 1.0f ratio will be shown.