I'm testing PB2018. At this moment I'm experimenting with the new ui themes. I was looking at the content of the theme.json file. I've noticed that most (if not all) base visual objects are in there. I was wondering if there is any way to extend a theme to provide different "theme" for two objects of the same base type, example: a) commandbutton, b) another object that inherits from commandbutton. I tried to do that in a small application using inheritance. I created a standard visual that inherits from commandbutton. Then I've made a new "entry" in theme.json that looks like:
But the application still uses the information provided in commandbutton. I am wondering if:
- This is supported?
- If yes, how?
- If not, then, can it be considered as an improvement for a future release (not talking about PB2019).
I believe that being able to define different options in the json file for inherited controls or even custom visual objects would be something great.