Skip to content

Adds "Icon Spacing" to the user preferences alongside a hard toggle t…#151

Open
verikono wants to merge 1 commit intozquestz:masterfrom
verikono:master
Open

Adds "Icon Spacing" to the user preferences alongside a hard toggle t…#151
verikono wants to merge 1 commit intozquestz:masterfrom
verikono:master

Conversation

@verikono
Copy link
Copy Markdown

@verikono verikono commented Feb 26, 2026

This PR shouldn't be considered final and is just to let you be aware that I'm rolling up some additions.

  • Users can now access icon spacing from the preferences screen as a sliding value of 0.1-20. It felt like its a variable that shouldn't require opening up the theme.

  • Users can force a use of the theme's item.padding via a toggle in the preferences screen. not sure if this is needed but it lets the user declare without any ambiguity that they want the theme's value.

I also added some eval code which avoids divide-by-zero possibilities. Happy to follow any direction you want to issue.

V.

…o defer to the theme padding property. I also hit a few segfaults so added a mechanism to lib/PositionManager.vala which accounts for things like the controller not having any visible items (divide by zero) : deserves some review prior to PR acceptence
@zquestz
Copy link
Copy Markdown
Owner

zquestz commented Feb 26, 2026

If we go this route wouldn't it be better to offer a theme tab and allow the user to override all theme values?

@verikono
Copy link
Copy Markdown
Author

Sounds good to me.

There's a clear separation in the code between theme and settings which I put an axe through the side of, so pulling back and splitting to two tabs works much cleaner for me. I'll look into it tomorrow.

V.

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

Successfully merging this pull request may close these issues.

3 participants