[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Space between toolbar and window (Carbon?)
From: |
Kim F. Storm |
Subject: |
Re: Space between toolbar and window (Carbon?) |
Date: |
Wed, 22 Feb 2006 10:01:03 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> David Reitter <address@hidden> writes:
>
>> Can anyone give me a hint as to whether I can easily remove the extra
>> space between the toolbar and the window (see screenshot)? It varies
>> in size with frame height and line height and I'd like to get rid of
>> it. Where in the code would I have to look? Is this Carbon specific?
>
> The non-toolkit X version has it; the GTK one doesn't.
Right!
In the non-toolkit version, the toolbar is "just another emacs
window", and currently the height, width and position of all windows
must be a multiple of the nominal frame line height (because the
corner positions of a window is measured in lines and columns rather
than pixels).
In the GTK version, the toolbar is a separate X window, so it's height is
not constrained by this.
--
Kim F. Storm <address@hidden> http://www.cua.dk