[Top][All Lists]

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

Re: resize windows horizontally with the mouse

From: martin rudalics
Subject: Re: resize windows horizontally with the mouse
Date: Thu, 30 Jan 2014 19:45:54 +0100

> Yes. We resize the GtkFixed where the text-part and scrollbar resides in 
Emacs. The layout widgets can not handle the layout of Emacs (i.e. text with 
scrollbar, modeline without scrollbar, minibuffer with scrollbar). If the 
scrollbar is 16 pixels wide no matter what, and Emacs thinks it. is 12, the sizing 
will be wrong.

I see.  But here I have to explicitly set the scroll-bar-width frame
parameter to make sure that no extra space is drawn.  Maybe we should
document this somewhere.

> You have to add 2 x trough-border, i.e 2 x 1.

Aha.  So is it the trough-border that doesn't get always cleared
correctly when deleting/resizing windows or is it some extra space
between trough-border and the surrounding objects?

I attach a screenshot where you can see the effect with the scrollbar in
the upper window.


PNG image

reply via email to

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