all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tool-bar-button margin / extra offset in tool-bar
@ 2005-10-15 10:16 David Reitter
  0 siblings, 0 replies; only message in thread
From: David Reitter @ 2005-10-15 10:16 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-15 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-15 10:16 tool-bar-button margin / extra offset in tool-bar David Reitter

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.