style<Popups>: fix UseLayoutRounding issue in popups for high resolution screen

This commit is contained in:
leo 2021-04-30 23:09:59 +08:00
parent 2e5af8bc47
commit 0c6a0bed06
27 changed files with 28 additions and 28 deletions

View file

@ -8,7 +8,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -10,7 +10,7 @@
xmlns:models="clr-namespace:SourceGit.Models"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="800" Height="Auto">
d:DesignWidth="800" Height="Auto" Padding="1">
<Grid>
<Grid.Resources>
<converters:InverseBool x:Key="InverseBool"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="800" Height="Auto">
d:DesignWidth="800" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -7,7 +7,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -7,7 +7,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -9,7 +9,7 @@
xmlns:converters="clr-namespace:SourceGit.Views.Converters"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.Resources>
<converters:InverseBool x:Key="InverseBool"/>

View file

@ -8,7 +8,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="800" Height="Auto">
d:DesignWidth="800" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:converters="clr-namespace:SourceGit.Views.Converters"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.Resources>
<converters:InverseBool x:Key="InverseBool"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="800" Height="Auto">
d:DesignWidth="800" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -8,7 +8,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -7,7 +7,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:models="clr-namespace:SourceGit.Models"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -7,7 +7,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:converters="clr-namespace:SourceGit.Views.Converters"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<UserControl.Resources>
<converters:BranchToName x:Key="BranchToName"/>
</UserControl.Resources>

View file

@ -7,7 +7,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:converters="clr-namespace:SourceGit.Views.Converters"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<UserControl.Resources>
<converters:BranchToName x:Key="BranchToName"/>
</UserControl.Resources>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -8,7 +8,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -8,7 +8,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -7,7 +7,7 @@
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
xmlns:models="clr-namespace:SourceGit.Models"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500" Height="Auto">
d:DesignWidth="500" Height="Auto" Padding="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>