Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Tabsheet - Tab Caption Alignment
When i try to reduce the height of the Tabsheet bar where the Tabs Open, the Tab caption is getting offset. I tried CSS styling "vertical-align:middle" but caption not coming to the center of the Tab. Tried giving Padding from the bottom but of no use.
Please find the screenshot which shows my problem.
Also below shown is the CSS styling set for the Tabsheet. Is there a way I can reduce the bar height as well as Tab height without using styling?
//padding : 0px 20px 10px 0px;
I think it's enough just to set the line-height to the desired on in .v-tabsheet-tabitem .v-caption. Try it and tell me did it work. I just quickly tested on Chrome. Didn't try other browsers.
Yes it works for me
i tested in Chrome, Firefox, and IE worked in all these three
Thank you Mr Johannes Hayry