-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
MetroWindow not selecting correct icon size from *.ico file #1242
Labels
Milestone
Comments
@amkuchta can you provide the icon or some xaml? we use the normal <Setter Property="IconTemplate">
<Setter.Value>
<DataTemplate>
<Image Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}"
Source="{TemplateBinding Content}"
RenderOptions.EdgeMode="{Binding IconEdgeMode, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:MetroWindow}}}"
RenderOptions.BitmapScalingMode="{Binding IconBitmapScalingMode, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:MetroWindow}}}" />
</DataTemplate>
</Setter.Value>
</Setter> |
punker76
added
Closing Until Better Bug Report
and removed
Closing Until Better Bug Report
labels
May 31, 2014
Oh, and as far as the Icon *.ico file goes, how would you like me to get that to you? |
@punker76 can I get this re-opened, given the above information? |
@punker76 👉 poke |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created a custom *.ico file that has multiple images stored in it at various sizes (example: 16x16, 24x24, 32x32 are all one image at different sizes, while 40x40, 48x48, 64x64, 96x96, 128x128, 256x256, and 512x512 are another image at those sizes).
Typically, Windows utilizes certain sizes for certain items (16x16 for title bar, 40x40 for ALT+Tab). However, utilizing MA.M, my MetroWindow shows the 256x256 image in the title bar instead of the 16x16 like it is supposed to. Is there any way to specify which size in the *.ico file to use for my title bar icon?
The text was updated successfully, but these errors were encountered: