style<*>: enable UseLayoutRounding for all windows

This commit is contained in:
leo 2021-04-30 22:35:50 +08:00
parent f7b151969e
commit 2e5af8bc47
6 changed files with 18 additions and 13 deletions

View file

@ -5,6 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
UseLayoutRounding="True"
WindowStartupLocation="CenterOwner"
Title="{StaticResource Text.About}"
Height="280" Width="400"
@ -16,7 +17,7 @@
<controls:WindowBorder>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>
<RowDefinition Height="28"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
@ -37,9 +38,10 @@
<!-- Close -->
<controls:IconButton
Grid.Column="3"
Grid.Column="3"
Click="Quit"
Padding="9"
Width="28"
Padding="8"
Icon="{StaticResource Icon.Close}"
HoverBackground="Red"
WindowChrome.IsHitTestVisibleInChrome="True"/>