Hello,
I am using SmartGWT 13.1 with GWT 2.12.1 and encountering an issue with the "SVG Spriting" feature: When I create a button and set its icon to "sprite:svg:[SKIN]/stockIcons.svg#delete", upon initial display, I notice that the icon fails to render correctly due to a missing "/images" path layer in the URL. However, when hovering over the button with the mouse, it seems the path gets completed and the icon displays normally. If I manually set the path to "[SKIN]/images/stockIcons.svg#delete", the icon displays correctly initially, but upon hovering, an extra "images" path layer is added, resulting in "/images/images", which prevents the icon from displaying correctly.
this my code:
IButton deleteButton = new IButton("删除");
deleteButton.setIcon("sprite:svg:[SKIN]/stockIcons.svg#delete");
deleteButton.setHeight(26);
deleteButton.setWidth(100);
I am using SmartGWT 13.1 with GWT 2.12.1 and encountering an issue with the "SVG Spriting" feature: When I create a button and set its icon to "sprite:svg:[SKIN]/stockIcons.svg#delete", upon initial display, I notice that the icon fails to render correctly due to a missing "/images" path layer in the URL. However, when hovering over the button with the mouse, it seems the path gets completed and the icon displays normally. If I manually set the path to "[SKIN]/images/stockIcons.svg#delete", the icon displays correctly initially, but upon hovering, an extra "images" path layer is added, resulting in "/images/images", which prevents the icon from displaying correctly.
this my code:
IButton deleteButton = new IButton("删除");
deleteButton.setIcon("sprite:svg:[SKIN]/stockIcons.svg#delete");
deleteButton.setHeight(26);
deleteButton.setWidth(100);
Comment