ComponentFactory / Krypton

Krypton WinForms components for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image is not displayed on KryptonButton

admin-pcngroup opened this issue · comments

Hello everyone,
I use Visual Studio 2019 on Win 10 and I'm developing in VB.Net.
I set an Image (32px x 32 px) under Values in a KryptonButton. The image is correctly displayed on the editor but when I debug, it is not displayed at all. What can I do?
Thank you all

image
On editor

image
While debugging

Hi @admin-pcngroup

Have you added the image to your projects' resources file?

Hello, yes, of course. I can view them also when I type My.Resources. ... thank to IntelliSense. Thank you for your answer(s).

@admin-pcngroup Is it working now?

Unfortunately, it isn't

@admin-pcngroup You may want to try to make the button bigger. I think it's seeing it as a 16 x 16 image, or resize the image.

Thank you. I've tried both. It works like a charm!!