Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Change background color of tab button

    I have a TabSet and I want each tab button to have a different background color. I can't achieve this via the "backgroundColor" property on the tab object.

    However, when the tab is selected I hardly see a difference in the style since the underlying class' background color is most likely overruled by the backgroundColor property. Using a style isn't quite possible either because I determine the background color from a database.

    What could be a good approach? I was hoping I could change the background color on tabSelected(), but I don't think it is possible.

    #2
    I've managed to get this working, so this question doesn't need an answer anymore.

    Comment

    Working...
    X