Button Image Colour

0
0

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

  • You must to post comments
0
0

Hi Alex,

this issue is fixed in Wisej release 2.2.29.

Have a great 2021!

Best regards
Frank

  • Alex Prinias
    Thank you, Frank. Have a great 2021 too. Best, Alex
  • You must to post comments
0
0

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.

  • Alex Prinias
    It is amazing how many parameters affect a certain case…. Luca, let me take the opportunity to wish you, your family and Wisej the best for 2021 ! Alex
  • Luca (ITG)
    Thank you Alex! Happy 2021 to you as well. Wisej is at its core very simple but it includes so many features that it would take dozens of different libraries slapped together with any other system just to get close. We are working on a large documentation set (~10 books) to be available soon covering lots of stuff.
  • You must to post comments
0
0

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

  • You must to post comments
0
0

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=.

Attachment
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.