emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tool-bar: recalculate height after changes to default font


From: David Reitter
Subject: tool-bar: recalculate height after changes to default font
Date: Mon, 3 Apr 2006 14:54:30 +0100

I'm reposting this since it's a general problem, not just in one port.
I suggest to recalculate the height of the tool-bar whenever the (default) face changes in a frame.

On 31 Mar 2006, at 09:35, YAMAMOTO Mitsuharu wrote:

On Fri, 31 Mar 2006 09:19:01 +0100, David Reitter <address@hidden> said:

In the Carbon port, when a large font (e.g. Monaco 18) is selected
for a frame, the tool-bar becomes (visually) much higher (I guess 3
lines high). However, when you toggle the visibility of the
tool-bar, for example with the following code

(modify-frame-parameters nil '((tool-bar-lines . 0)))
(modify-frame-parameters nil '((tool-bar-lines . 1)))

the tool-bar shrinks back to a visually much more appealing height -
that is, about 2 lines high.

I could reproduce it also with the X11 (non-GTK) build by changing the
frame font to "Courier 24" by S-mouse-1, followed by the evaluation of
the above expressions.

                                     YAMAMOTO Mitsuharu
                                address@hidden







reply via email to

[Prev in Thread] Current Thread [Next in Thread]