-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Suport to Bitmap Button #6
Comments
I think the best way to implement this is to thread the [IconAttribute] as the icon and generated bitmap button instead of the normal button. [Icon(typeof(Resources), nameof(Resources.btn_icon)]
public Action Button { get; set; } Additionally, add the StandardBitmapButtonIconAttribute to have an ability to assign all standard icons, similar to StandardControlIconAttribute |
Hi @artem1t . Do you want me to implement it and send you an PR? 🤓 I may need some instructions but I reeeeeeeealy like the way you code and how you use SOLID principles in the implementation. |
Hi @emersonbottero, that would be fantastic! I am looking for contributors. Please do not hesitate to reach me on info@xarial.com for any questions. I also recently opened the subreddit: https://reddit.com/r/xcad |
This is now implemented and available in preview builds, will be later merged in release.
Links: |
Looks like some issue with image conversion. Could you please attach the image you are using or send it to info@xarial.com? |
And just to confirm you are using .NET Core 3.1? |
I just sent the e-mail. |
Thank you. I have confirmed this is related to the image pixel format. If you save it as PNG or 24 bit bmp - issue is not reproducible. I have opened bug for that: #19 |
The text was updated successfully, but these errors were encountered: