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.

Panel with label in it has unwanted border (?)

Timothy Persoon
6 years ago Jan 12, 2016 9:25am
Johannes Laidler
6 years ago Jan 12, 2016 9:58am

Hi,

in Valo (Vaadin 7.3+) all panels include a default border. You can remove it with a ValoTheme Constant.

Panel panel = new Panel();
panel.addStyleName(ValoTheme.PANEL_BORDERLESS);

Timothy Persoon
6 years ago Jan 19, 2016 1:12pm