We ran into the problem that SVGs were not displayed in tree views. (Universal GUI 2024.2.14)
After adding this to custom.css, the svg icons became visible:
svg { width: 24px; height: 24px; }
Side effect of this, is that charts are no longer displayed.
I don’t believe this is solved as was mentioned in this post:
What can we do now?
Best answer by Arie V
@Harm Horstman saw this at another customer too. This most likely has to do with the fact that your SVG files contain (unusual values for) height & width parameters. A workaround for now is to edit the SVG and completely remove the height & width parameters, leaving it up to the GUI to determine the sizing properly.
In the meantime we’ll aim for fixing this issue, based on the TCP you also raised.
@Harm Horstman saw this at another customer too. This most likely has to do with the fact that your SVG files contain (unusual values for) height & width parameters. A workaround for now is to edit the SVG and completely remove the height & width parameters, leaving it up to the GUI to determine the sizing properly.
In the meantime we’ll aim for fixing this issue, based on the TCP you also raised.
From version 2025.2.13.0 on, the Universal GUI strips away hard sizes from the root <svg> tag of SVG icons shown in the UI at all different locations. That should fix problems like this.