Permalink
Browse files

UseLayoutRounding for MetroWindow for better pixel stuff

  • Loading branch information...
1 parent e74c895 commit b3c19573ba52847aa42fe1c0ff3ef064e8d9ba17 @punker76 punker76 committed Jan 10, 2015
@@ -238,6 +238,8 @@
</ControlTemplate>
<Style TargetType="{x:Type Controls:MetroWindow}">
+ <Setter Property="UseLayoutRounding"
+ Value="True" />
<Setter Property="WindowTitleBrush"
Value="{DynamicResource WindowTitleColorBrush}" />
<Setter Property="TextElement.FontSize"
@@ -3,6 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
Title="SizeToContent Demo"
+ GlowBrush="{DynamicResource AccentColorBrush}"
WindowStartupLocation="CenterOwner"
SizeToContent="WidthAndHeight">
<Window.Resources>

0 comments on commit b3c1957

Please sign in to comment.