mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Trim default Titles to be more compact and readable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user