Variable: auto-resize-tool-bars

auto-resize-tool-bars is a variable defined in xdisp.c.

Value

t

Documentation

Non-nil means automatically resize tool-bars.

This dynamically changes the tool-bar's height to the minimum height that is needed to make all tool-bar items visible. If value is grow-only, the tool-bar's height is only increased automatically; to decrease the tool-bar height, use M-x recenter (recenter), after setting recenter-redisplay to the value of t.

Probably introduced at or before Emacs version 21.1.

Source Code

// Defined in /usr/src/emacs/src/xdisp.c
  DEFVAR_LISP ("auto-resize-tool-bars", Vauto_resize_tool_bars,
    doc: /* Non-nil means automatically resize tool-bars.
This dynamically changes the tool-bar's height to the minimum height
that is needed to make all tool-bar items visible.
If value is `grow-only', the tool-bar's height is only increased
automatically; to decrease the tool-bar height, use \\[recenter],
after setting `recenter-redisplay' to the value of t.  */);