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.

remove caption from horizontalLayout

Marion Bigger Buchli
5 years ago Dec 06, 2016 4:28pm
Olli Tietäväinen
5 years ago Dec 06, 2016 7:14pm
Kurt De Wit
5 years ago Dec 06, 2016 7:57pm

Marion, if I recall correctly, FormLayout always diplays a caption for its child components.
I did not try it myself, but did you try to call setCaption(null) or setCaption("") on the HorizontalLayout programmatically instead of using the designer? Perhaps this solves your problem.

Olli Tietäväinen
5 years ago Dec 07, 2016 8:03am

In case that doesn't work, you might consider replacing the FormLayout with something else like a GridLayout.

-Olli

Marion Bigger Buchli
5 years ago Dec 12, 2016 2:15pm