Closed mgarin closed 6 years ago
Along with fixing this particular problem I will be removing some deprecated parts of the StyleManager
that allowed multiple painters per component (do not confuse component painters or SpecificPainter
s with SectionPainter
s - you can still have multiple SectionPainter
s).
This have been fixed in the recent commit. Custom painters should now be properly applied and should also properly update component's view. I have also fixed a few issues related to custom painter border calculations.
Here is a small code sample representing the issue:
However painter is partially applied if skin is changed or reloaded. For example calling this:
After adding the painter into the component will display it, but won't adjust component borders properly.