This project is read-only.

Wrong Stretch for Image in ToggleButton?

Mar 30, 2010 at 9:51 AM
Edited Mar 30, 2010 at 9:53 AM

Fluent-Version 1.0, source from Zip-File fluent-48856.zip

When setting the LargeIcon on a ToggleButton (png-file, 32x32 Pixel), the image isn't streched correctly. Same LargeIcon on a Button works fine...

I compared the XAML-files of ToggleButton and Button and modified line 38 of Themes\Office2010\Controls\ToggleButton.xaml:

Stretch="Uniform" instead of Stretch="None"

Now, ToggleButton also works fine...

Greetings from Germany,

Michael

Mar 31, 2010 at 2:20 PM

Thank you, Michael. We will fix it.
Daniel