MaterialDesignInXAML / MaterialDesignInXamlToolkit

Google's Material Design in XAML & WPF, for C# & VB.Net.
http://materialdesigninxaml.net
MIT License
15.18k stars 3.43k forks source link

Context menus are blurry #3601

Closed EsaHeinonen closed 4 months ago

EsaHeinonen commented 5 months ago

Bug explanation

Context menus are rendered blurry. This becomes quite apparent when a ScaleTransform is applied to the context menu to enlarge the text:

image

Here's a repo to demonstrate the issue: https://github.com/EsaHeinonen/MDIXTest1

Version

5.0.1-ci662

MichelMichels commented 4 months ago

@EsaHeinonen PR #3616 also fixes this issue. For the time being, you can manually force this by setting following on your ContextMenu:

<ContextMenu materialDesign:ShadowAssist.CacheMode="{x:Null}" ... />