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

feat(bar): scaled icon size relying on the font size #1184

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

CtByte
Copy link
Contributor

@CtByte CtByte commented Dec 17, 2024

This commit changes the way icons are displayed on the bar. There was an issue with how app icons were sized using shrink_to_fit. This has been changed to use fit_to_exact_size instead, relying on the font size as a starting point and scaling it to 1.4 of its size, making the icons to appear larger.

The same scaling was done to all the widget icons as well to make them look unified.

Recording.2024-12-17.002044.mp4

Special thanks to @alex-ds13 for initiating this change. It would be most appreciated if this PR is merged before his

@CtByte
Copy link
Contributor Author

CtByte commented Dec 17, 2024

@LGUG2Z The scaling can be added to the config if you find that to be necessary. Please let me know if you have any thoughts on that

@CtByte CtByte marked this pull request as ready for review December 17, 2024 17:22
@LGUG2Z LGUG2Z merged commit 81f3eb2 into LGUG2Z:master Dec 17, 2024
6 checks passed
@CtByte CtByte deleted the bar_icon_size branch December 18, 2024 09:08
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.

2 participants