unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Huge gap between fringe and scroll-bar
@ 2007-01-01  8:07 Leo
  2007-01-01 12:46 ` Jan Djärv
  0 siblings, 1 reply; 10+ messages in thread
From: Leo @ 2007-01-01  8:07 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

Emacs's native scroll-bar (--without-toolkit-scroll-bars) can have a
huge gap between fringe and scroll-bar. To see this:

  emacs -Q -l sb.el

Where sb.el has:
,----[ sb.el ]
| (setq initial-frame-alist
|       '((scroll-bar-width . 10)))
`----

As you can see the gap between the fringe and scroll-bar is close to
8 pixels. I see no gap for gtk scroll-bar though.

Screenshot:

[-- Attachment #2: E.png --]
[-- Type: image/png, Size: 284 bytes --]

[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

To compare:

  emacs -Q

Screenshot:

[-- Attachment #4: E0.png --]
[-- Type: image/png, Size: 283 bytes --]

[-- Attachment #5: Type: text/plain, Size: 129 bytes --]


BTW, can I set scroll-bar width in X resource file?

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

[-- Attachment #6: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-01-02  9:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-01  8:07 Huge gap between fringe and scroll-bar Leo
2007-01-01 12:46 ` Jan Djärv
2007-01-01 18:02   ` Leo
2007-01-01 18:56     ` Jan Djärv
2007-01-02  1:15       ` Leo
2007-01-02  9:45         ` Jan Djärv
2007-01-02  3:10     ` Richard Stallman
2007-01-02  4:21       ` Leo
2007-01-02  4:31         ` Nick Roberts
2007-01-02  4:47           ` Leo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).