From 9b452bef8b829d485c950a5b81f8d28c399b5a16 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 1 Sep 2020 17:22:47 +0800 Subject: [PATCH] fix(*): using TextBlock instead of Label to avoid missing characters like '-', '_', etc. --- src/UI/CherryPick.xaml | 4 ++-- src/UI/CherryPick.xaml.cs | 2 +- src/UI/CreateBranch.xaml | 2 +- src/UI/CreateBranch.xaml.cs | 6 +++--- src/UI/CreateTag.xaml | 2 +- src/UI/CreateTag.xaml.cs | 4 ++-- src/UI/DeleteBranch.xaml | 2 +- src/UI/DeleteBranch.xaml.cs | 2 +- src/UI/DeleteRemote.xaml | 2 +- src/UI/DeleteRemote.xaml.cs | 2 +- src/UI/DeleteTag.xaml | 2 +- src/UI/DeleteTag.xaml.cs | 2 +- src/UI/Discard.xaml | 2 +- src/UI/Discard.xaml.cs | 6 +++--- src/UI/Fetch.xaml | 2 +- src/UI/GitFlowFinishBranch.xaml | 2 +- src/UI/GitFlowFinishBranch.xaml.cs | 2 +- src/UI/Merge.xaml | 4 ++-- src/UI/Merge.xaml.cs | 6 +++--- src/UI/Pull.xaml | 6 +++--- src/UI/Pull.xaml.cs | 2 +- src/UI/Push.xaml | 6 +++--- src/UI/PushTag.xaml | 4 ++-- src/UI/PushTag.xaml.cs | 2 +- src/UI/Rebase.xaml | 4 ++-- src/UI/Rebase.xaml.cs | 8 ++++---- src/UI/RenameBranch.xaml | 2 +- src/UI/RenameBranch.xaml.cs | 2 +- src/UI/Reset.xaml | 4 ++-- src/UI/Reset.xaml.cs | 4 ++-- src/UI/Revert.xaml | 2 +- src/UI/Revert.xaml.cs | 2 +- 32 files changed, 52 insertions(+), 52 deletions(-) diff --git a/src/UI/CherryPick.xaml b/src/UI/CherryPick.xaml index c22fd9b7..67da0283 100644 --- a/src/UI/CherryPick.xaml +++ b/src/UI/CherryPick.xaml @@ -1,4 +1,4 @@ - - diff --git a/src/UI/CherryPick.xaml.cs b/src/UI/CherryPick.xaml.cs index 0d315529..d633f0ab 100644 --- a/src/UI/CherryPick.xaml.cs +++ b/src/UI/CherryPick.xaml.cs @@ -20,7 +20,7 @@ namespace SourceGit.UI { repo = opened; commitSHA = commit.SHA; - desc.Content = $"{commit.ShortSHA} {commit.Subject}"; + desc.Text = $"{commit.ShortSHA} {commit.Subject}"; } /// diff --git a/src/UI/CreateBranch.xaml b/src/UI/CreateBranch.xaml index 7f71f6ff..b98223cd 100644 --- a/src/UI/CreateBranch.xaml +++ b/src/UI/CreateBranch.xaml @@ -34,7 +34,7 @@