Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CSS-Styled SVG Icons Render Black
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CSS-Styled SVG Icons Render Black

 Post Reply Post Reply
Author
Message
Aishwarya K View Drop Down
Newbie
Newbie


Joined: Yesterday
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aishwarya K Quote  Post ReplyReply Direct Link To This Post Topic: CSS-Styled SVG Icons Render Black
    Posted: Yesterday at 5:37am

Hello,

We are integrating custom SVG icons into our application using Codejock (Xtreme ToolkitPro 24.2) and are encountering an issue:
SVG files that rely on CSS styling (e.g., classes, <style>, and modern SVG structure) are rendered completely black inside Codejock controls. In contrast, the SVGs used in Codejock’s sample projects(Codejock\Xtreme_ToolkitPro\v24.2.0\Samples\Common\svg) render correctly with their intended colors.

Key difference Observed :
Codejock’s SVG uses inline fill attributes and simple path-only SVG 1.1, while our SVG uses CSS styles, classes, <style>, and modern SVG structure. 

I am attaching our SVG files for reference : uploads/9737/Svgs_Rendered_As_Black.zip 

We would appreciate any guidance or help on how to resolve this issue.

Thank you.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.