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.

The problem with the layout

Alexey Bykov
1 decade ago Feb 02, 2012 1:55pm
Alexander Pchelintsev
1 decade ago Feb 02, 2012 2:22pm

Hi,

I guess the missing step in your quest - is to set the size of the centerPanel's content (a Panel is nothing but a ComponentContainer for ONE component which is ComponentContainer itself, by default it is a VerticalLayout). Calling the following:

centerPanel.getContent().setSizeFull()

Should do the trick.

cheers,
sasha

Last updated on Feb, 2nd 2012
Alexey Bykov
1 decade ago Feb 02, 2012 4:33pm