Resolved Custom Theme Issues
- How-to
- Christopher Craft
- Beta Testing
- Sunday, 10 January 2021 05:50 PM UTC
I am having some issues attempting to create a custom theme for my application.
1) Is there a way to set the background color of a grid-style datawindow to be different than the free-form? I need my header datawindows to have a different color than my grid datawindows.
2) Can you not have multiple settings in a custom definition file for a theme ( ie. theme-[xxxx].json )? It seems I have to create a definition file for each control that I am wanting be different. I have 2 controls on my custom frame that I want to have a different theme. Following is my file that will not work but if I separate them into 2 files then it will.
{
"meta-info":
{
"version":"190"
},
"w_frame_navigation$datawindow":
{
"drawing":true,
"background-color-enabled":true,
"background-color":"#262626",
"normal-state":
{
"border-color":"#404040"
},
"disabled-state":
{
"border-color":"#333333"
}
}
"w_frame_navigation$picturelistbox":
{
"drawing":true,
"normal-state":
{
"border-color":"#4C4C4C",
"background-color":"#1F1F1F"
},
"hover-state":
{
"border-color":"#4C4C4C",
"background-color":"#1F1F1F"
},
"disabled-state":
{
"border-color":"#404040",
"background-color":"#242424"
},
"item":
{
"normal-state":
{
"background-color":"#1F1F1F",
"text-font":{"color":"#CCCCCC"}
},
"hover-state":
{
"background-color":"#262626",
"text-font":{"color":"#CCCCCC"}
},
"selected-state":
{
"background-color":"#333333",
"text-font":{"color":"#CCCCCC"}
},
"disabled-state":
{
"background-color":"#242424",
"text-font":{"color":"#4D4D4D"}
}
}
}
}
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.