I quite like the results of themed tab objects but I have a few tabpages that are highlighted by setting a custom TabTextColor in the painter. This gets overwritten by the theme even when I remove the "text-font":{"color":"#..."} entry from the theme.json. Is there any way to change the TabTextColor of individual tabpages while having a theme active?
- Benjamin Gaesslein
- PowerBuilder
- Thursday, 6 August 2020 09:19 AM UTC
- Page :
- 1
There are no replies made for this question yet.
However, you are not allowed to reply to this question.
However, you are not allowed to reply to this question.
To further clarify the issue: throughout the application we use tab-objects that are populated with userobjects as tabpages at runtime. Some of these userobjects have their TabTextColor set to a highlight color. The issue is probably that the theme setting applies to the tab object itself, I've found no entry for inidividual tabpages. The "navigator" node seems to handle the look of all the tabs in a tab control. So I can either disable theming for the whole tab object or have to live with the missing highlighting for individual tabs. There is a "page" node but it seems to apply to the content only.