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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
Combine AbsolutLayout and VerticalLayout -> FullScreen
Hallo
it is possible to combine an AbsolutLayout with 90px and the rest oft the screen in the VerticalLayout (100%)
Like This!
-----------------
head 90px
-----------------
Rest of screen
(varible)
....................
Thenks
Patrick
Last updated on
Yes, by using an outer layout (you always need a single root component). So the structure would be like this:
VerticalLayout (outer)
- AbsoluteLayout (header)
- VerticalLayout (body)
set the sizing like this:
header.setHeight("90px");
header.setWidth("100%");
body.setSizeFull();
outer.setSizeFull();
outer.addComponents(header, body);
outer.setExpandRatio(body, 1);
yourUI.setContent(outer);
Last updated on
You cannot reply to this thread.