Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Layout Problems

Christian Schlagkamp
9 years ago Oct 16, 2013 11:23am
Thomas Mattsson
9 years ago Oct 16, 2013 11:41am

Yes, expandratio for the tabsheet is what you need to do. So, something like:

mainLayout.setSizeFull();
mainLayout.addComponent(button);
mainLayout.addComponent(tabsheet);
mainLayout.setExpandRatio(tabsheet, 1);
tabsheet.setSizeFull();

Try that, and report back.

Christian Schlagkamp
9 years ago Oct 16, 2013 12:39pm
Thomas Mattsson
9 years ago Oct 16, 2013 12:55pm
Charles Anthony
9 years ago Oct 16, 2013 1:01pm
Christian Schlagkamp
9 years ago Oct 16, 2013 1:01pm
Christian Schlagkamp
9 years ago Oct 16, 2013 1:07pm
Christian Schlagkamp
9 years ago Oct 16, 2013 1:13pm
Christian Schlagkamp
9 years ago Oct 16, 2013 1:15pm
Thomas Mattsson
9 years ago Oct 16, 2013 1:43pm
Christian Schlagkamp
9 years ago Oct 16, 2013 2:19pm
Charles Anthony
9 years ago Oct 16, 2013 3:26pm
Christian Schlagkamp
9 years ago Oct 18, 2013 6:10am
Thomas Mattsson
9 years ago Oct 18, 2013 6:33am
Christian Schlagkamp
9 years ago Oct 18, 2013 7:05am
Thomas Mattsson
9 years ago Oct 18, 2013 7:48am
Christian Schlagkamp
9 years ago Oct 28, 2013 11:10am
Thomas Mattsson
9 years ago Nov 01, 2013 7:39am