Working on our themes, I have noticed that the Line doesn’t seem to be refreshed when the Theme is changed programmatically with Application.LoadTheme.
I have attached 2 screen shots of the same Line, one at run time showing the Line after the theme was changed by code, and one showing it at design time with the theme it was changed to.
Anything I should take a look at?
To make sure my themes were not playing any tricks on this matter, I have tested the same situation changing from Blue-1 to Graphite-3. I have attached pictures of the Graphite-3 Line color at the designer, and another of the same Line after changing the theme from Blue-1 to Graphite-3 at run time.
My own themes, created from the Material-3 as base.
I am not changing anything through mixin for the Line. The lineColor property is set to windowFrame as it was originally. The windowFrame color was changed for each of the Themes created. If I set the Theme through the Default.json, it shows properly when we open the application. But if the user changes the Theme (we just added 2 buttons, each changing to one of the themes created), the Line color for the theme which we changed to (programmatically) doesn’t mach with the one in the .theme file. If we change the themes in the designer with an open window where there is a Line, the Line color changes properly.
The pictures attached show the same Line in the same window, one at run time where the theme was changed after the application was run, and the other picture showing the same line at the designer, with the corresponding theme set through the combobox on the bottom of the designer.
Please login first to submit.