Width of command palette slightly increased

This commit is contained in:
stax76
2022-06-20 19:24:24 +02:00
parent a148c88435
commit 7ef1f9315e
3 changed files with 5 additions and 3 deletions

View File

@@ -151,8 +151,8 @@ namespace mpvnet
get {
if (string.IsNullOrEmpty(Path))
{
if (Command.Length > 50)
return Command.Substring(0, 50) + "...";
if (Command.Length > 47)
return Command.Substring(0, 47) + "...";
return Command;
}
else

View File

@@ -1333,7 +1333,7 @@ namespace mpvnet
if (CommandPaletteHost == null)
return;
CommandPaletteHost.Width = FontHeight * 25;
CommandPaletteHost.Width = FontHeight * 27;
if (CommandPaletteHost.Width > ClientSize.Width)
CommandPaletteHost.Width = ClientSize.Width;