![]() |
|
Default Icon and Custom Icon Control Differences - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visu (https://forum.logicmachine.net/forumdisplay.php?fid=24) +--- Thread: Default Icon and Custom Icon Control Differences (/showthread.php?tid=6286) |
Default Icon and Custom Icon Control Differences - savaskorkmaz - 01.02.2026 Hi, In the new visu graphics system, the main difference between default icons and custom icons is that with default icons we can change the color and background based on the point value, whereas this is not possible with custom icons. We have our own custom icon library in SVG format. If we adapt the internal structure of our SVGs to match the SVG structure used by the default icons, would it be possible to enable color and background changes for our custom SVG library as well? If so, could you please provide:
RE: Default Icon and Custom Icon Control Differences - admin - 02.02.2026 At this moment it's not possible because built-in SVG icons are placed directly into the page while custom icons are loaded using <img> tag. It should be possible to load custom icons differently but we need to test this first. For coloring simply use fill="currentColor" in your SVGs. RE: Default Icon and Custom Icon Control Differences - admin - 06.02.2026 Check this: https://forum.logicmachine.net/showthread.php?tid=6282&pid=41181#pid41181 |