From 0c6a0bed06496e88bdec45e5ff835be750639211 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 30 Apr 2021 23:09:59 +0800 Subject: [PATCH] style: fix UseLayoutRounding issue in popups for high resolution screen --- src/Views/Popups/AddSubmodule.xaml | 2 +- src/Views/Popups/Apply.xaml | 2 +- src/Views/Popups/CherryPick.xaml | 2 +- src/Views/Popups/Clone.xaml | 2 +- src/Views/Popups/Configure.xaml | 2 +- src/Views/Popups/CreateBranch.xaml | 2 +- src/Views/Popups/CreateTag.xaml | 2 +- src/Views/Popups/DeleteBranch.xaml | 2 +- src/Views/Popups/DeleteRemote.xaml | 2 +- src/Views/Popups/DeleteSubmodule.xaml | 2 +- src/Views/Popups/DeleteTag.xaml | 2 +- src/Views/Popups/Discard.xaml | 2 +- src/Views/Popups/Fetch.xaml | 2 +- src/Views/Popups/GitFlowFinish.xaml | 2 +- src/Views/Popups/GitFlowStart.xaml | 2 +- src/Views/Popups/Init.xaml | 2 +- src/Views/Popups/InitGitFlow.xaml | 2 +- src/Views/Popups/Merge.xaml | 2 +- src/Views/Popups/Pull.xaml | 2 +- src/Views/Popups/Push.xaml | 2 +- src/Views/Popups/PushTag.xaml | 2 +- src/Views/Popups/Rebase.xaml | 2 +- src/Views/Popups/Remote.xaml | 2 +- src/Views/Popups/RenameBranch.xaml | 2 +- src/Views/Popups/Reset.xaml | 2 +- src/Views/Popups/Revert.xaml | 4 ++-- src/Views/Popups/Stash.xaml | 2 +- 27 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/Views/Popups/AddSubmodule.xaml b/src/Views/Popups/AddSubmodule.xaml index 6f37603f..22ed319f 100644 --- a/src/Views/Popups/AddSubmodule.xaml +++ b/src/Views/Popups/AddSubmodule.xaml @@ -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"> diff --git a/src/Views/Popups/Apply.xaml b/src/Views/Popups/Apply.xaml index 864fd619..1d4ef33b 100644 --- a/src/Views/Popups/Apply.xaml +++ b/src/Views/Popups/Apply.xaml @@ -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"> diff --git a/src/Views/Popups/CherryPick.xaml b/src/Views/Popups/CherryPick.xaml index e3ae6f18..df8a2187 100644 --- a/src/Views/Popups/CherryPick.xaml +++ b/src/Views/Popups/CherryPick.xaml @@ -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"> diff --git a/src/Views/Popups/Clone.xaml b/src/Views/Popups/Clone.xaml index 7c064b09..fc9ca281 100644 --- a/src/Views/Popups/Clone.xaml +++ b/src/Views/Popups/Clone.xaml @@ -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"> diff --git a/src/Views/Popups/Configure.xaml b/src/Views/Popups/Configure.xaml index 8ca72051..b71d3050 100644 --- a/src/Views/Popups/Configure.xaml +++ b/src/Views/Popups/Configure.xaml @@ -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"> diff --git a/src/Views/Popups/CreateBranch.xaml b/src/Views/Popups/CreateBranch.xaml index aacf00a9..aa9ca82d 100644 --- a/src/Views/Popups/CreateBranch.xaml +++ b/src/Views/Popups/CreateBranch.xaml @@ -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"> diff --git a/src/Views/Popups/CreateTag.xaml b/src/Views/Popups/CreateTag.xaml index 94a3ffa6..eee23174 100644 --- a/src/Views/Popups/CreateTag.xaml +++ b/src/Views/Popups/CreateTag.xaml @@ -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"> diff --git a/src/Views/Popups/DeleteBranch.xaml b/src/Views/Popups/DeleteBranch.xaml index 9140ddfb..4d6e408e 100644 --- a/src/Views/Popups/DeleteBranch.xaml +++ b/src/Views/Popups/DeleteBranch.xaml @@ -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"> diff --git a/src/Views/Popups/DeleteRemote.xaml b/src/Views/Popups/DeleteRemote.xaml index 1decb382..43ec49ac 100644 --- a/src/Views/Popups/DeleteRemote.xaml +++ b/src/Views/Popups/DeleteRemote.xaml @@ -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"> diff --git a/src/Views/Popups/DeleteSubmodule.xaml b/src/Views/Popups/DeleteSubmodule.xaml index 700bee9d..7746117b 100644 --- a/src/Views/Popups/DeleteSubmodule.xaml +++ b/src/Views/Popups/DeleteSubmodule.xaml @@ -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"> diff --git a/src/Views/Popups/DeleteTag.xaml b/src/Views/Popups/DeleteTag.xaml index d210a6fe..2700bf63 100644 --- a/src/Views/Popups/DeleteTag.xaml +++ b/src/Views/Popups/DeleteTag.xaml @@ -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"> diff --git a/src/Views/Popups/Discard.xaml b/src/Views/Popups/Discard.xaml index 5fa27570..9a50b9a3 100644 --- a/src/Views/Popups/Discard.xaml +++ b/src/Views/Popups/Discard.xaml @@ -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"> diff --git a/src/Views/Popups/Fetch.xaml b/src/Views/Popups/Fetch.xaml index f0e0e38a..da8c96eb 100644 --- a/src/Views/Popups/Fetch.xaml +++ b/src/Views/Popups/Fetch.xaml @@ -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"> diff --git a/src/Views/Popups/GitFlowFinish.xaml b/src/Views/Popups/GitFlowFinish.xaml index 9f260421..9ea8d389 100644 --- a/src/Views/Popups/GitFlowFinish.xaml +++ b/src/Views/Popups/GitFlowFinish.xaml @@ -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"> diff --git a/src/Views/Popups/GitFlowStart.xaml b/src/Views/Popups/GitFlowStart.xaml index d58b14b3..d0eb3fc9 100644 --- a/src/Views/Popups/GitFlowStart.xaml +++ b/src/Views/Popups/GitFlowStart.xaml @@ -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"> diff --git a/src/Views/Popups/Init.xaml b/src/Views/Popups/Init.xaml index f9507799..a315de10 100644 --- a/src/Views/Popups/Init.xaml +++ b/src/Views/Popups/Init.xaml @@ -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"> diff --git a/src/Views/Popups/InitGitFlow.xaml b/src/Views/Popups/InitGitFlow.xaml index 1a029c32..4dbbe1ec 100644 --- a/src/Views/Popups/InitGitFlow.xaml +++ b/src/Views/Popups/InitGitFlow.xaml @@ -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"> diff --git a/src/Views/Popups/Merge.xaml b/src/Views/Popups/Merge.xaml index 81538344..bd80f2e5 100644 --- a/src/Views/Popups/Merge.xaml +++ b/src/Views/Popups/Merge.xaml @@ -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"> diff --git a/src/Views/Popups/Pull.xaml b/src/Views/Popups/Pull.xaml index a922cbce..e18c122a 100644 --- a/src/Views/Popups/Pull.xaml +++ b/src/Views/Popups/Pull.xaml @@ -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"> diff --git a/src/Views/Popups/Push.xaml b/src/Views/Popups/Push.xaml index b61e24ef..8761dad7 100644 --- a/src/Views/Popups/Push.xaml +++ b/src/Views/Popups/Push.xaml @@ -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"> diff --git a/src/Views/Popups/PushTag.xaml b/src/Views/Popups/PushTag.xaml index f2439fce..26718f8e 100644 --- a/src/Views/Popups/PushTag.xaml +++ b/src/Views/Popups/PushTag.xaml @@ -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"> diff --git a/src/Views/Popups/Rebase.xaml b/src/Views/Popups/Rebase.xaml index 59aa3b3c..142b9086 100644 --- a/src/Views/Popups/Rebase.xaml +++ b/src/Views/Popups/Rebase.xaml @@ -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"> diff --git a/src/Views/Popups/Remote.xaml b/src/Views/Popups/Remote.xaml index 05e7f5fa..25ed40a2 100644 --- a/src/Views/Popups/Remote.xaml +++ b/src/Views/Popups/Remote.xaml @@ -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"> diff --git a/src/Views/Popups/RenameBranch.xaml b/src/Views/Popups/RenameBranch.xaml index 38c5d8ce..98a7b6de 100644 --- a/src/Views/Popups/RenameBranch.xaml +++ b/src/Views/Popups/RenameBranch.xaml @@ -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"> diff --git a/src/Views/Popups/Reset.xaml b/src/Views/Popups/Reset.xaml index 6f714016..c37f9973 100644 --- a/src/Views/Popups/Reset.xaml +++ b/src/Views/Popups/Reset.xaml @@ -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"> diff --git a/src/Views/Popups/Revert.xaml b/src/Views/Popups/Revert.xaml index c6d6c0a5..a9b61a2b 100644 --- a/src/Views/Popups/Revert.xaml +++ b/src/Views/Popups/Revert.xaml @@ -5,8 +5,8 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:controls="clr-namespace:SourceGit.Views.Controls" - mc:Ignorable="d" - d:DesignWidth="500" Height="Auto"> + mc:Ignorable="d" + d:DesignWidth="500" Height="Auto" Padding="1"> diff --git a/src/Views/Popups/Stash.xaml b/src/Views/Popups/Stash.xaml index 9436d0b8..9e2a7e54 100644 --- a/src/Views/Popups/Stash.xaml +++ b/src/Views/Popups/Stash.xaml @@ -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">