From e9a100cf28f051e4454c865dda9b2cbd716fcee2 Mon Sep 17 00:00:00 2001 From: tznind Date: Sun, 26 Feb 2023 18:16:58 +0000 Subject: [PATCH] Trim default Titles to be more compact and readable --- Terminal.Gui/Windows/FileDialog2.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Terminal.Gui/Windows/FileDialog2.cs b/Terminal.Gui/Windows/FileDialog2.cs index d15bce566..a9be60db0 100644 --- a/Terminal.Gui/Windows/FileDialog2.cs +++ b/Terminal.Gui/Windows/FileDialog2.cs @@ -504,13 +504,13 @@ namespace Terminal.Gui { if (ustring.IsNullOrEmpty (Title)) { switch (OpenMode) { case OpenMode.File: - this.Title = $" OPEN {(MustExist ? "EXISTING ":"")}FILE "; + this.Title = $"OPEN {(MustExist ? "EXISTING ":"")}FILE"; break; case OpenMode.Directory: - this.Title = $" OPEN {(MustExist ? "EXISTING " : "")}DIRECTORY "; + this.Title = $"OPEN {(MustExist ? "EXISTING " : "")}DIRECTORY"; break; case OpenMode.Mixed: - this.Title = $" OPEN {(MustExist ? "EXISTING":"")}"; + this.Title = $"OPEN{(MustExist ? " EXISTING":"")}"; break; } }