mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 09:35: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
|
@ -34,9 +34,9 @@ namespace SourceGit.UI {
|
|||
|
||||
var dialog = new Rebase(opened);
|
||||
dialog.based = branch.Head;
|
||||
dialog.branch.Content = current.Name;
|
||||
dialog.branch.Text = current.Name;
|
||||
dialog.type.Data = dialog.FindResource("Icon.Branch") as Geometry;
|
||||
dialog.desc.Content = branch.Name;
|
||||
dialog.desc.Text = branch.Name;
|
||||
|
||||
opened.GetPopupManager()?.Show(dialog);
|
||||
}
|
||||
|
@ -52,9 +52,9 @@ namespace SourceGit.UI {
|
|||
|
||||
var dialog = new Rebase(opened);
|
||||
dialog.based = commit.SHA;
|
||||
dialog.branch.Content = current.Name;
|
||||
dialog.branch.Text = current.Name;
|
||||
dialog.type.Data = dialog.FindResource("Icon.Commit") as Geometry;
|
||||
dialog.desc.Content = $"{commit.ShortSHA} {commit.Subject}";
|
||||
dialog.desc.Text = $"{commit.ShortSHA} {commit.Subject}";
|
||||
|
||||
opened.GetPopupManager()?.Show(dialog);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue