emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: tool-bar: recalculate height after changes to default fo


From: Richard Stallman
Subject: address@hidden: tool-bar: recalculate height after changes to default font]
Date: Tue, 04 Apr 2006 09:53:42 -0400

Would someone please try to fix this, and ack?

It could be that this is too hard to fix for before the release, but
I'd like someone to take a look.  Maybe there is an easy fix,
something like turning the tool bar off and on again when the font
changes.  That we could install now.

------- Start of forwarded message -------
Mime-Version: 1.0 (Apple Message framework v746.3)
In-Reply-To: <address@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
From: David Reitter <address@hidden>
Date: Mon, 3 Apr 2006 14:54:30 +0100
To: Emacs-Devel ' <address@hidden>
Subject: tool-bar: recalculate height after changes to default font
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed 
        version=3.0.4

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





_______________________________________________
Emacs-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------




reply via email to

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