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áš
thanks for your response.
Are you planning to add such a separate switch?
Should I create an enhancement request ticket?
Regards,
Tomáš
The purpose of the UI Theme is to achieve a flat UI design, so when using the UI theme, the borders cannot retain the old PB styles. In the theme.json control, borders should either not be drawn (i.e., no border) or be drawn according to the colors set in theme.json, with the border pixel size being fixed in theme.json.
Setting a separate switch for borders is also not very appropriate. You may consider using other ways to distinguish different columns (e.g., font color).
Regards,
Kitty