mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 13:45:00 +00:00
fix(*): using TextBlock instead of Label to avoid missing characters like '-', '_', etc.
This commit is contained in:
parent
cfce4bddd7
commit
9b452bef8b
32 changed files with 52 additions and 52 deletions
|
@ -50,7 +50,7 @@ namespace SourceGit.UI {
|
|||
var dialog = new CreateTag(repo);
|
||||
dialog.based = branch.Head;
|
||||
dialog.basedOnType.Data = dialog.FindResource("Icon.Branch") as Geometry;
|
||||
dialog.basedOnDesc.Content = branch.Name;
|
||||
dialog.basedOnDesc.Text = branch.Name;
|
||||
|
||||
repo.GetPopupManager()?.Show(dialog);
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ namespace SourceGit.UI {
|
|||
var dialog = new CreateTag(repo);
|
||||
dialog.based = commit.SHA;
|
||||
dialog.basedOnType.Data = dialog.FindResource("Icon.Commit") as Geometry;
|
||||
dialog.basedOnDesc.Content = $"{commit.ShortSHA} {commit.Subject}";
|
||||
dialog.basedOnDesc.Text = $"{commit.ShortSHA} {commit.Subject}";
|
||||
|
||||
repo.GetPopupManager()?.Show(dialog);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue