-
Notifications
You must be signed in to change notification settings - Fork 160
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
[Bug] modeline is cutoff or has extra spaces at the right end depending on font size #545
Comments
If enable |
@seagle0128 Well, this issue has nothing to do with icons. |
I think the calculation is accurate now. The side-effect is the performance will be impacted. |
Thanks for the quick fix, but I cannot test it because I am using emacs 28.1 which does not have the function |
Thank you for the bug report
doom-mode
related packages.the command
emacs -Q
.Bug description
If modeline font size is larger (smaller) than buffer font size, the modeline is cutoff (has extra spaces) at the right end.
It looks like the calculation of the width of the spaces in the middle is wrong.
Steps to reproduce
(set-face-attribute 'mode-line nil :height XXX)
and(set-face-attribute 'mode-line-inactive nil :height XXX)
to change font size.(doom-modeline-redisplay)
to refresh the modeline.Depending on the height chosen, the right end of modeline behaves differently, as stated above.
Expected behavior
The right end of modeline should not be cutoff or have extra spaces
OS
MacOS
Emacs Version
gccemacs-28
Emacs Configurations
No response
Error callstack
No response
Anything else
No response
The text was updated successfully, but these errors were encountered: