How do I modify theme of an object, that is added with function OpenUserObject(), like this:
uo_StaticText luo_StaticText
THIS.OpenUserObject(luo_StaticText, 270, 380)
I've made a custom theme-custom.json file in my theme folder, it looks something like this:
{
"meta-info":
{
"version":"190"
},
"w_themestest_main$statictext":
{
"drawing":false
},
"w_themestest_main$userobject":
{
"drawing":false
}
}
It does disable theme for objects that are added via IDE, but I can't figure out how to modify object added with OpenUserObject().
Please see attached sample project.
I also tried "w_themestest_main$uo_statictext" and "uo_statictext", does not work either...
Any ideas?