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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
visibility issues
Hi, I wanted to display some content (another label) when a label is hovered. I used
display: none;
for the default display of the label. And when hovered over
display: inline-block;
However, the slot space appeared to not expand automatically when the label is displayed, and it cuts parts of the label off. So I am wondering what I can do to make the slot automacilly expand.
I have attached the different states of the label as pictures (normal, hover, and wanted). Thank you!
Difficult to say without a code example. You mention "slot space", so are you using VerticalLayout?