]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Use pixel-based alignment (bug#55207)
authorJuri Linkov <juri@linkov.net>
Wed, 4 May 2022 19:32:30 +0000 (22:32 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 4 May 2022 19:32:30 +0000 (22:32 +0300)
commit78df8a0e3d3cce35fbcc972a62200a9da506a0a1
tree55d43f081f28ee8165cdb4c650b12c7c02873b2f
parente88d91b1d2f94b21bd5560670c575069164aff05
* lisp/tab-bar.el: Use pixel-based alignment (bug#55207)

* lisp/tab-bar.el (tab-bar-format-align-right): Use string-pixel-width
on the string with tab-bar face to get the width in pixels to align.
(tab-bar-format-global): Remove string-trim-right to keep padding-right.
lisp/tab-bar.el