awesome-inc / FontAwesome.Sharp

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

Change the AddIcons extension method to put them in Alphabetical Order #1

Closed gnewtzie closed 8 years ago

gnewtzie commented 8 years ago

Or at least in the properties grid drop down sort them alphabetically.

mkoertgen commented 8 years ago

The method AddIcons is only used for populating imagelists, used with e.g. treeviews. I'm not sure you would see these images in the designer.

If i understand correctly you mean that then when selecting icons in the designer the icons are not sorted. Yes, that's very true. Good catch.

I think that is because the generated IconChar enum does not sort the fa-icon entries generated from the .css.

mkoertgen commented 8 years ago

I will add sorting to the t4-template generating the enum. Good idea, thx.

For now, you can skim through the icons using the keyboard. For example, to skim thourhg all icons starting with "F" just press the F-key repeatedly when in drop down mode.

mkoertgen commented 8 years ago

Need to merge to master before closing

mkoertgen commented 8 years ago

Fixed this with v4.5.2. Please check

gnewtzie commented 8 years ago

The repeatable key is working thanks. Of course the alpha sort would be better but it's at lease easier now.