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.

Can't design layout properly

Artyom Ulanchik
5 years ago Dec 31, 2016 7:40pm
Tobias Demuth
5 years ago Jan 01, 2017 7:53pm

Labels are per default 100% wide with left-aligned text. Call welcome.setSizeUndefined() to make the Label just take the space becessary for its contents.