Quote from
luishp on August 10, 2023, 12:23 pm
@phil78 icons on buttons are just injected HTML, in your case something like this:
<span style="font-size:;" class="glyphicon glyphicon-heart"></span>
You can get this code by using GetObjectHTML:
GetObjectHTML "PushButton1" [result]
SVG icons contain the full SVG image code, not just the icon name.
Why do you want it exactly?
ve also noticed that attaching a tooltip to an svg causes a crash ?
How are you attaching the tooltip?
Regards.
@phil78 icons on buttons are just injected HTML, in your case something like this:
<span style="font-size:;" class="glyphicon glyphicon-heart"></span>
You can get this code by using GetObjectHTML:
GetObjectHTML "PushButton1" [result]
SVG icons contain the full SVG image code, not just the icon name.
Why do you want it exactly?
ve also noticed that attaching a tooltip to an svg causes a crash ?
How are you attaching the tooltip?
Regards.