cosmic-files icon indicating copy to clipboard operation
cosmic-files copied to clipboard

[Feature Request] 50% icon size option for list view

Open 9thyear2 opened this issue 1 year ago • 3 comments

here is an example from nautilus: Screenshot from 2024-03-24 23-45-36

here is what cosmic is currently capable of (ignore missing icons, no idea what's happening there): Screenshot from 2024-03-24 23-51-24

9thyear2 avatar Mar 25 '24 04:03 9thyear2

The missing icons issue is tracked in #48 which I'm trying to fix now.

As for this issue, I'll leave it open for another contributor as the fix seems pretty small. I don't want to hog them.

Take a look at src/app.rs near line 539 if you know a bit of Rust.

joshuamegnauth54 avatar Mar 29 '24 04:03 joshuamegnauth54

unfortunately i don't know rust, my experience currently lies in python

9thyear2 avatar Mar 29 '24 07:03 9thyear2

The fix doesn't seem to be that small @joshuamegnauth54. When the list size is <100%, all text in the mouse_area stops displaying. The font size stays the same, regardless of icon size (in both grid and list view), but it seems the padding at list sizes below 100% prevents the text from showing up (the icons also seem a bit too small at 50%). So different padding might be necessary at smaller sizes. Another possible fix is to make the padding for the sorting headings (Name, Modified, Size) fixed, since it doesn't need to resize (and looks weird) when changing list size (and they also disappear when <100%). screenshot-2024-04-08-23-03-01

Unfortunately, I'm not familiar enough with Rust and the codebase to attempt to do this.

git-f0x avatar Apr 08 '24 23:04 git-f0x