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
Text isn't vertically aligned correctly in the menu bar #105
Comments
+1 |
Why on earth not? |
If anyone wants to try and figure this out - please do. I had a look, and there's nothing (except that it's attributed text) that makes me think it would be. I 100% agree we should fix it though. |
@muhqu any ideas on this one? |
Just submitted a pull request to fix this #153 :) |
The fix from #153 sadly only works well with the default font size (14). v1.4beta rendered And now v1.4 looks like this: |
Ah, I wasn't aware of user specified font sizes (sorry) :( I'll try and look into this again today :) |
Is there a general way to solve this problem? @tombonez any ideas? |
just installed bitbar today (1.9.2), I gave create a simple plugin just write some number, no specific size or font, but text is not centered too :/ I have try v2, but same problem. Any solution ? My plugin just display the current timestamp |
I'm still seeing this problem in 1.9.2: |
No fix atm. The problem is that no default font is set on the text which is required for items in the menu bar to look correct in OS X 10.11+. |
Is there a fix for the vertical alignment issue? |
@oleander You mean BitBar just needs to specify a default font? That sounds like a rather easy fix for a quite annoying bug? |
Where might that default font be set, if that is actually a fix? It does sound like it would be one or a few lines. Which lines, and where to put them is of course the question :) |
OK, been looking at the code. It seems one sets the font for the menu items, but it seems in our case, the actual menu itself is too big (as you can see w/ the UTC time vs the battery % to the right). The menu items themselves, though, seem to be proper size. Do we need to set the default font for all menu items, will that take care of the Menu font itself? Thanks, |
The repo https://github.com/guillaumewuip/bitbar from #513 (comment) is unavailable. So there is still no solution. |
Hi,
As seen in the screenshot below, the text isn't vertically aligned correctly in the menu bar.
Cheers,
Tom :)
The text was updated successfully, but these errors were encountered: