- Tomáš Podzimek
- PowerBuilder
- Tuesday, 22 October 2024 07:44 AM UTC
Hi,
I have a Themes JSON question.
We have a modified JSON with drawing:false for dwo-column, because we need to have different borders for various columns.
So far so good. But it has consequences like ignoring all the nested nodes of the JSON for checkbox-type column etc. leaving them with default images instead of the themed ones, even if there's drawing:true for checkbox-type.
Is there a way to switch off themes only for dwo-column but to let it on for the nested nodes?
I'm afraid I know the answer but one never knows...
Here's a snippet of our JSON file:
"datawindow":
{
"dwo-column":
{
"drawing":false,
"border":0,
"border-color":"#E7EBF2",
"background-color":"#FFFFFF",
"text-font":{"color":"#3C465A"},
"checkbox-type":
{
"drawing":true,
"normal-state":
{
"box-images":
{
"unchecked":{"file":"checkbox-box-normal-unchecked.bmp"},
"checked":{"file":"checkbox-box-normal-checked.bmp"},
"indeterminate":{"file":"checkbox-box-normal-indeterminate.bmp"}
}
},
"hover-state":
{
"box-images":
{
"unchecked":{"file":"checkbox-box-hover-unchecked.bmp"},
"checked":{"file":"checkbox-box-hover-checked.bmp"},
"indeterminate":{"file":"checkbox-box-hover-indeterminate.bmp"}
}
}
}
}
}
Regards,
Tomáš
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.