ux: use fixed width for commit history context menu

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-08-22 17:11:21 +08:00
parent dbedf4bc7b
commit c72a151825

View File

@@ -179,6 +179,7 @@ namespace SourceGit.Views
{
var repo = vm.Repository;
var menu = new ContextMenu();
menu.MaxWidth = 480;
var gitTemplate = await new Commands.Config(repo.FullPath).GetAsync("commit.template");
var templateCount = repo.Settings.CommitTemplates.Count;