emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Small gaps beside the scrollbar


From: Jan D.
Subject: Re: Small gaps beside the scrollbar
Date: Tue, 19 Jul 2005 11:26:07 +0200
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)


In order to make resizing consistent, Emacs keeps the scroll bar at the same width as the character width.


Can't see how the scrollbar with can be a problem. Ok, Emacs let's the user resize the window (contents of the window) in character units, but a (GNOME) window can have *any* size.


Any window can have any size. But to resize in character units you must impose some restrictions. On the X11 level it is not that hard to make the scroll bar have different width. Internally in Emacs it is harder, as there are places that convert to/from pixels simply by multiplying by the column width.


But the GTK scroll bars have a fixed width, which only sometimes are the same width as the Emacs character width. Therefore there are gaps.


This is not specific to Emacs compiled with GTK support. The standard X Windows scrollbar has the same problem.


The Emacs internal (i.e. non-toolkit) scroll bar does not have this problem, but GTK, Xaw and Lesstif/Motif does.

   Jan D.





reply via email to

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