Let’s say my status bar has 3 panels and he leftmost is the name of the file on which the app is working.
That might me c:\my.log or c:\a\very\deeply\nested\sub-directory\extremely_long_file_name_indeed.log
Is there an easy way to adjust the size of the 3 status bar panels when I load a new file? (maybe even a FOSS VCL component – although I can’t find one)?
This, actually is more like TLama’s first version of his deleted answer, which I liked better:
The above shortens the path if it doesn’t fit to a maximum width, but the original file name is not visible to the user in any way. To be able to use native hint support for status bar panels, the width of a panel must be shorter than the text can fit.
So, as an alternative, the below truncates the trailing part of the file name when it is longer than a maximum width and shows a tooltip when hovered with the mouse: