awesome-inc / FontAwesome.Sharp

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

Choosing icon using properties window in WinForms is not sorted alphabetically, and one cannot search it #51

Closed scelts closed 3 years ago

scelts commented 3 years ago

Hi,

To start, nice work! I noticed though that once you add the control in winforms (IconPictureBox), and then you try to use the "Properties" window to set the IconChar, there are few issues:

Not a big problem, I just select it in code, but I think the solution is just to sort it alphabetically or to do the parsing or whatever is done in this window when one types in something.

mkoertgen commented 3 years ago

Hi @scelts, yes we are aware of some designer shortcomings with respect to winforms.

Since we started the library mostly with focus WPF we never thought about that. However, from looking at most issues for about the last year it seems that WinForms usage is a lot more popular than we thought.

To enhance, one would probably need to add custom designer behaviours, cf.

In case you have some time to spare we would welcome any effort towards this.

mkoertgen commented 3 years ago

Added a custom type converter that involves alphabetical sorting on enums. Check with v5.15.1