Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to decrease the font size of mode-bar/line?

Tags:

emacs

After horizontally splitting my frame into 4-5 windows, the info in the mode-line gets truncated. So is there a way to decrease its font size like I do in a buffer so that its text doesn't get truncated?

like image 662
Bleeding Fingers Avatar asked Jun 14 '13 07:06

Bleeding Fingers


2 Answers

You can do this, for instance

(set-face-attribute 'mode-line nil :height 60)

Substitute 60 for the height you want. You may use hooks to change the value dynamically depending of some conditions, but afaik all the mode-lines will share same font.

like image 102
juanleon Avatar answered Sep 28 '22 15:09

juanleon


You can type M-x customize-face RET mode-line, and set the height attribute.

like image 37
legoscia Avatar answered Sep 28 '22 14:09

legoscia