explorerplusplus icon indicating copy to clipboard operation
explorerplusplus copied to clipboard

Add margin to the icons in the "List" view

Open Palollo opened this issue 11 months ago • 4 comments

Now fixed to just 1 pixel to avoid icons touching each other, but it can be made configurable in the future.

Palollo avatar Jan 06 '25 14:01 Palollo

Hi @Palollo, could you add some information about why this is needed? Screenshots showing the problem and how this fixes it might be useful. Thanks.

derceg avatar Jan 06 '25 19:01 derceg

Hi, it is a subtle change, but makes the difference ;) Before (it looks slovenly, the icons of files/folders are touching each other and the border of the window, there is no division or break between them): imagen

After (looks nicer, clean, seemly, with just 1 pixel of margin, but it can be increased or even configurable by the user): imagen

Palollo avatar Jan 06 '25 21:01 Palollo

The general idea here could work, but the implementation, as it exists right now, isn't workable. The list of icons needed isn't static, since items can be added to the directory after the navigation has completed. Trying to retrieve a list of all necessary icons up front isn't going to work for that reason.

This would have to work something more like thumbnails view, where the images are generated on-demand and the image list is destroyed whenever the view changes or a navigation occurs.

derceg avatar Jan 20 '25 19:01 derceg

OK, indeed I reverted in my fork because it adds some lag in navigation. I will improve it with the on-demand generation of images if I have some time some day ;)

Palollo avatar Apr 28 '25 09:04 Palollo