Method GetIconWithOptionalSpace
- Namespace
- Terminal.Gui.FileServices
- Assembly
- Terminal.Gui.dll
GetIconWithOptionalSpace(IFileSystemInfo?)
Returns GetIcon(IFileSystemInfo?) with an extra space on the end if icon is likely to overlap adjacent cells.
public virtual string GetIconWithOptionalSpace(IFileSystemInfo? fileSystemInfo)
Parameters
fileSystemInfoIFileSystemInfoThe file or directory requiring an icon.
Returns
- string
The icon text, including any spacing.
Remarks
To supply multiple characters, custom spacing, or no icon, override this method.