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

FontAwesome Sharp on high DPI Screens #41

Closed aadi1295 closed 4 years ago

aadi1295 commented 4 years ago

Hello, How to use FontAwesome Sharp on high DPI screens? I have an application developed in 1080p screen and now on 4K screen the icon buttons changes then whole forms look to very tiny and compact windows forms. when I remove the icon button and add the normal windows forms button everything is work and looks fine as it should be. is there any guide that I can look at to set the icon buttons or icon picture box work on any DPI screen.

Looking forward to hearing from you. Thanks

mkoertgen commented 4 years ago

Hi @aadi1295,

Did you try enabling Dpi-Awareness? See the FAQ

aadi1295 commented 4 years ago

@mkoertgen I have .Net 4.6.1 application. DPI awareness v2 is available in 4.7+(Only windows 10 support) so I can't do it unless I upgrade to 4.7. I tried to do that in the manifest but didn't work. My customers still have Windows 8 as well and on 4K displays so DPI awareness is not a solution for me right now.

mkoertgen commented 4 years ago

Sorry @aadi1295 , i have no ready-to-take solution for you other than reviewing the docs mentioned under the FAQ entry. WinForms has quite a bit of legacy.

mkoertgen commented 4 years ago

Closed due to inactivity