Open Parranoh opened 2 years ago
See my fork for an alternative way of truncating filenames, which truncates every component individually. For me, the method there helps, but raising the 100 characters to 150 or 200 is even better.
Detecting window width and truncating based on that would be better, of course. But I don't know swing well enough for that.
I'll take a look at it when I have some time. Thanks for your help.
The file_name_label in the DownloadView has a certain width (~800px on my machine) that is doesn't want to go over, even if the window is far wider. This leads to many filenames unnecessarily being shortened in the middle. For me personally, this is an issue because my default_down_dir is rather long, therefore the important part of the filename is often hidden.