dbordak / telephone-line

A new implementation of Powerline for Emacs
GNU General Public License v3.0
560 stars 49 forks source link

Gap after airline segment #110

Open jhert0 opened 4 years ago

jhert0 commented 4 years ago

There is a gap between the airline segment and the end of the window.

modeline

JSmurf commented 4 years ago

I'm having this issue as well, with 7 or 8 characters of space after the airline segment. image

dbordak commented 4 years ago

This typically happens because the width of the rhs can't be calculated. I can see @JSmurf you have an icon in your mode-line; it might not have a :width tag?

linwaytin commented 3 years ago

I had the same issue. The problem can be fixed by setting the face height the same for the default and mode-line.

(set-face-attribute 'default nil :height 160) ;; The unit is 0.1pt
(set-face-attribute 'mode-line nil :height 160)
(set-face-attribute 'mode-line-inactive nil :height 160 :foreground "gray20")

See https://github.com/gexplorer/simple-modeline/issues/8