From: David Reitter <david.reitter@gmail.com>
Subject: tool-bar-button margin / extra offset in tool-bar
Date: Sat, 15 Oct 2005 11:16:35 +0100 [thread overview]
Message-ID: <C69891B4-AA11-4002-96E9-94B5AB3A82B3@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 253 bytes --]
Hi,
how would I go about setting the tool-bar-button-margin so that there
is no ugly grey space between the real tool-bar and the text area?
To illustrate what I mean, I'm attaching two small screenshots - one
without the grey area, one with it.
[-- Attachment #2: pastedGraphic.png --]
[-- Type: image/png, Size: 6011 bytes --]
[-- Attachment #3: Type: text/plain, Size: 6 bytes --]
[-- Attachment #4: pastedGraphic.png --]
[-- Type: image/png, Size: 6196 bytes --]
[-- Attachment #5: Type: text/plain, Size: 484 bytes --]
Troubleshooting this, I have found out that "good" values for the
vertical component of tool-bar-button-margin are multiples of the
frame char height (div 2). The following figures are examples (good
values, vs. frame char height):
6 + n*10 20
0 + n*7 14
2 + n*8 16
4 + n*6 12
1 + n*7.5 15
The offset is what I'm stuck with. Where does that come from?
I've tried finding clues in xdisp.c and found it impenetrable.
Thanks very much for any help.
[-- Attachment #6: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
reply other threads:[~2005-10-15 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C69891B4-AA11-4002-96E9-94B5AB3A82B3@gmail.com \
--to=david.reitter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.