Hello Alejandro! Thanks for this add-on, it's very useful. Could you help m

Hello Alejandro! Thanks for this add-on, it’s very useful. Could you help me please, how can I modify the tab caption’s height from CSS (or from Java if it’s possible)? Thanks in advance! Károly

Hi, have you tried tab.getElement().getStyle().set("height", "100px");?

Thanks Alejandro, it works!
I have another question: how can I achive to make the tab’s content scrollable? So the tab’s caption stay in a fix position but the content should scrollable if it’s too large?

Have you tried Scrollable? https://vaadin.com/api/framework/6.8.18/com/vaadin/terminal/Scrollable.html

I think you have written Scrollable and the 6.8.18 link by mistake, because I use version 14.4.0.
If you thought Scroller, then afaik PageTabs constructor receives HasComponents and Scroller only extends Component, so it’s incompatible. Would I have missed something? Thanks!

Some inner component (grid) made the trouble. I set the parent container’s overflow to hidden and the child component’s overflow to auto. innerLayout.getElement().getStyle().set(“overflow”, “hidden”); myGrid.getElement().getStyle().set(“overflow”, “auto”) and it’s Okay now. Sorry for bothering you!

Good to hear, and thanks for sharing the solution.