Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct size for window icon #1628

Merged
merged 1 commit into from
Oct 31, 2014
Merged

Conversation

thoemmi
Copy link
Collaborator

@thoemmi thoemmi commented Oct 30, 2014

This PR fixes #1242. A new control MultiFrameImage replaces the Image control in the IconTemplate, selecting the best matching icon frame from the provided icon source.

To reproduce the fix, remove all image formats from mahapps.metro.logo2.ico except 16x16 and 32x32 (I didn't want to include the modified icon file in this PR 😉) and start the demo application.

@flagbug flagbug added this to the v1.0 milestone Oct 30, 2014
punker76 added a commit that referenced this pull request Oct 31, 2014
@punker76 punker76 merged commit 6e4350e into MahApps:master Oct 31, 2014
@thoemmi thoemmi deleted the icon-size-fix-1242 branch October 31, 2014 08:11
@flagbug
Copy link
Member

flagbug commented Oct 31, 2014

@thoemmi Wow, nice work, thanks!

@thoemmi
Copy link
Collaborator Author

thoemmi commented Oct 31, 2014

I experienced this bug in my own application, so I had to fix it 😉

@amkuchta
Copy link
Contributor

I greatly, GREATLY appreciate this!! Thank you!

@thoemmi thoemmi restored the icon-size-fix-1242 branch November 16, 2014 18:26
@thoemmi thoemmi deleted the icon-size-fix-1242 branch November 16, 2014 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants