awesome-inc / FontAwesome.Sharp

A library for using Font Awesome in WPF & Windows Forms applications
Apache License 2.0
384 stars 90 forks source link

Only IconButton and IconPictureBox controls, no IconDropDownButton #62

Closed DannyDannyDan closed 3 months ago

DannyDannyDan commented 3 years ago

Hi, I've downloaded the latest code and am having some issues with the TestForms project. If I start debugging the project, the IconDropDownButton appears, however, I can't see the IconDropDown or a few other controls in the designer.

Also, if I install the FontAwesome.Sharp nuget package into other projects, I only get IconButton and IconPictureBox controls in the toolbox. Am I suppose to hand edit the designer file to use the other controls, or am I suppose to make my own user controls, or is this a bug?

Clipboard01

mkoertgen commented 3 years ago

Hi @DannyDannyDan ,

Designer support should usually be available, however we never spent much effort on supporting a full-fledged designer experience.

So you may run into issues when the Designer tries to create the controls. It needs a parameterless ctor and loading the fonts into memory on the static constructors can cause trouble, especially when the hosting process is some more recent version of VisualStudio.

We started with WPF and added WinForms along the way to support some legacy applications. We notice that recently the project gains much more interest in the WinForms community so we are aware that we lack a bit of support on this.

mkoertgen commented 3 years ago

@DannyDannyDan i just checked the project myself and it looks the same for me, so let's declare it a bug.

image

mkoertgen commented 3 years ago

@DannyDannyDan I labeled it also as up-for-grabs, so if you are inclined to contributing back and have interest and some time to spare we would love to accept some diagnostics insight, maybe even a pull request fixing the issue.

mkoertgen commented 3 years ago

Some information to get us going:

image

DannyDannyDan commented 3 years ago

I'd like to help but it will be quite some time before I have spare time.

ClubberLangG commented 2 years ago

Hi,

Still no news about this issue ?

I've just downloaded the last nuget and there is no IconToolStripButton in the designer :-(

Thx

mkoertgen commented 2 years ago

Tried reproducing it. Manually adding the package-dll to the toolbox results in

image

mkoertgen commented 2 years ago

Researching this issue I found which describes the change behavior with net-core

Let's try adding a toolbox manifest as outline here