editing specific object in theme.json
- New
- How-to
- Theme
-
Nik Seger
- PowerBuilder
- Friday, 30 May 2025 10:13 AM UTC
I am trying to change the textcolor of the statictext "st_delete" on the window "w_edit" to red, but it seems like I'm doing something wrong.
The theme itself I've created is working, just the specification for the window is not.
I have copied the settings from the regular "statictext" as mentioned in the documentation
"w_edit$statictext" also doesn't do anything, so the problem is with the specification for the window I would assume.
My code:
{
"meta-info":
{
"version":"25.0.0.3674"
},
"w_edit.st_delete":
{
"drawing":true,
"border":0,
"background-transparent":true,
"normal-state":
{
"background-color":"#262626",
"text-font":{"color":"#FFCCCC"}
},
"disabled-state":
{
"background-color":"#262626",
"text-font":{"color":"#4D4D4D"}
}
},
...
Does anyone have an idea on what I'm doing wrong?
thanks in advance
Nik
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.