emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.04k stars 139 forks source link

Sideline Display No Longer Right-aligned When Font Size is Changed #444

Closed errissa closed 4 years ago

errissa commented 4 years ago

I wanted to make the size of the sideline display fonts smaller but when I do so the display no longer aligns to the right side of the window. Attached is a screen shot of what I'm seeing. And here is the font modification that caused the problem:

(custom-set-faces '(lsp-ui-sideline-global ((t (:height 0.6)))))

ui-sideline-small-font

yyoncho commented 4 years ago

Apparently we are not calculating the width using the correct font. I think that there is already a bug(s) for that.

errissa commented 4 years ago

Yes, you're right. It looks like this is more or less a duplicate of issue #285.

sebastiencs commented 4 years ago

@errissa See my response in https://github.com/emacs-lsp/lsp-ui/issues/285

Closing, feel free to reopen if you still have this issue