Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
9thyear2 opened this issue Mar 25, 2024 · 3 comments
Closed

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

9thyear2 opened this issue Mar 25, 2024 · 3 comments

Comments

@9thyear2
Copy link

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

@joshuamegnauth54
Copy link
Contributor

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.

@9thyear2
Copy link
Author

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

@git-f0x
Copy link
Contributor

git-f0x commented Apr 8, 2024

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.

@WatchMkr WatchMkr closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants