lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.55k stars 733 forks source link

Window Control Buttons Missing Icons #6

Closed mastry closed 2 years ago

mastry commented 2 years ago

Describe the bug
The window control buttons do not display correctly in the demo application.

To Reproduce
Run the demo application and not the buttons on the far right of the title bar.

image

Expected behavior
Expected to see standard window control buttons like this:

image

Desktop (please complete the following information):

This could be caused by the missing Fonts folder (it's referenced in the project, but not included in the source control):

image

MikeKatsoulakis commented 2 years ago

I fixed that by installing the Segoe Fluent Icons Microsoft font.

pomianowski commented 2 years ago

Hey @mastry, According to the readme, in order to use the icon pack from Windows 11 on version 10 and below you need to add the Segoe Fluent Icons font to your application resources.

Among other things, this font is responsible for the titlebar buttons.

https://github.com/lepoco/wpfui#segoe-fluent-icons

pomianowski commented 2 years ago

Hey @mastry, in the latest commit, the icons from the font have been replaced with SVG icons and should work on Windows 10 without Segoe Fluent Icons.