- Andreas Mykonios
- Beta Testing
- Friday, 11 January 2019 10:20 AM UTC
Hi.
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:
"u_ind_cb":
{
"drawing":true,
...
},
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.
Andreas.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.