browser: make the calculation of files-per-line a straightforward one
There is no need to iterate through all the file names, as we already know the length of the longest. From this it's easy to calculate how many names fit on a line.
Showing
+4 -37
Please register or sign in to comment