Hi guys,
I’m using the Elegant Icons to set the ImageSource for a button, and the image colour does not follow the ForeColor property of the button on production. In the designer it looks OK. You can see that in the attached files. For comparison, I have set the Text property to “Δ”, and that, overlayed on the image, looks correct. They all work correctly when using Theme images instead of the Elegant ones.
Best
Hi Alex,
this issue is fixed in Wisej release 2.2.29.
Have a great 2021!
Best regards
Frank
Looks like a bug when the text color is changed using the mixin together with an svg icon loaded from a remote location (the icon pack) the first time – it starts working if you click on the button. It worked in my test because I was assigning the ForeColore by code. Looks like the theme is applied first and since the svg icon from the assembly is loaded asynchronously it cannot be updated the first time.
Luca, have a look at the attached sample. It appears to be the colour which is defined in my theme mixing. If I set one of the standard colours, it works. However, my theme mixing colour works correctly for the standard icons.
Alex
Can you try in a sample app? See attached screenshot. You can also change the mono color of the icon in the designer or in code adding ?color=.
Please login first to submit.