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

Auto sizing bar width leaves massive gaps #21

Open
Samueru-sama opened this issue Jul 21, 2023 · 0 comments
Open

Auto sizing bar width leaves massive gaps #21

Samueru-sama opened this issue Jul 21, 2023 · 0 comments

Comments

@Samueru-sama
Copy link

I'm using deadbeef on i3wm, which means the app usually only has two window sizes, which are full screen which has no issue, the bar width is correct and there is no gap: https://imgur.com/a/qDnzRcq

Or I have deadbeef on an split screen, which is where the issue happens, there's a big gap at either end: https://imgur.com/5IQTD5u.png

Changing the default size from auto to a fixed number shows exactly what the issue is, the plugin decides that the best auto width is a value of 4 when it should instead be 5. Very likely this happens because 5 is slightly bigger than the space available so it defaults to the next smaller value which has the massive gaps.

There are two ways this could be fixed, either auto uses the next higher value instead of the next lower or use fractional values for bar width.

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

1 participant