Describe the bug
If GlowColor is used, the content of a WindowChromeWindow will miss one pixel on the top side. For example, GlowColor="Blue" and Background="Red":


This is caused by the Grid.Margin in the window template. When GlowColor is used the Padding will be set to defaultContentPadding, which is Thickness(0, 1, 0, 0). #175 says it fixes the one pixel miss, however, here it becomes the reason for the one pixel miss instead. If I set the Padding to 0, the one pixel miss will disappear.
Environment
ControlzEx version: v6.0.0
Windows build number: Win11 23H2 [Version 22631.3085] & Win10
Visual Studio: 2022 17.6.2
Target Framework: .Net Framework v4.8
Describe the bug
If
GlowColoris used, the content of aWindowChromeWindowwill miss one pixel on the top side. For example,GlowColor="Blue"andBackground="Red":This is caused by the
Grid.Marginin the window template. WhenGlowColoris used thePaddingwill be set todefaultContentPadding, which isThickness(0, 1, 0, 0). #175 says it fixes the one pixel miss, however, here it becomes the reason for the one pixel miss instead. If I set thePaddingto 0, the one pixel miss will disappear.Environment