We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e74c895 commit b3c1957Copy full SHA for b3c1957
MahApps.Metro/Themes/MetroWindow.xaml
@@ -238,6 +238,8 @@
238
</ControlTemplate>
239
240
<Style TargetType="{x:Type Controls:MetroWindow}">
241
+ <Setter Property="UseLayoutRounding"
242
+ Value="True" />
243
<Setter Property="WindowTitleBrush"
244
Value="{DynamicResource WindowTitleColorBrush}" />
245
<Setter Property="TextElement.FontSize"
samples/MetroDemo/ExampleWindows/SizeToContentDemo.xaml
@@ -3,6 +3,7 @@
3
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
5
Title="SizeToContent Demo"
6
+ GlowBrush="{DynamicResource AccentColorBrush}"
7
WindowStartupLocation="CenterOwner"
8
SizeToContent="WidthAndHeight">
9
<Window.Resources>
0 commit comments