Skip to Content
Sep 07, 2020 at 03:39 PM

Adding styleClass to a SegmentedButtonItem

155 Views Last edit Sep 08, 2020 at 08:39 AM 4 rev


i do have the following situation, i do have the following row(see the Image below), with three Controlls:

1. Label

2. Text

3. SegmentedButton with two SegmentedButtonItems Items: One, Two

- When getting the Items


I do get three Elements, aformentioned three Controlls, when adding a StyleClass by:


The corresponding Controll recieves the style propreties.

Issue: However when, trying to apply style propreties, to for example: One-Button, aformentioned .addStyleClass stops working.

Question: How to make .addStyleClass work for one of the SegmentedButtonItems ?


lnaic.png (14.9 kB)