Hi Erik, great component It's posible increment size font for the caption

Hi Erik, great component

It’s posible increment size font for the caption in the SlideTabBuilder

Hi Freddy, thank you!

It’s not possible through the SlideTabBuilder, but it’s possible through CSS. You’ll need to do the following:

  1. Create a slide tab style sheet, for example /frontend/styles/my-slide-tab.css.
  2. Import it in your application by adding this annotation to some class: @CssImport(value = "./styles/my-slide-tab.css", themeFor = "slide-tab")
  3. In the CSS file, add something like this:
[part="tab"]
 {
    font-size: 24px;
}

If you only want certain slide tabs to have a larger font size, you can for example use a class:

slideTab.addClassName("large-font");

:host(.large-font) [part="tab"]
 {
    font-size: 36px;
}

Erik, thanks for your support,
works fine