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

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

bug#6592: 24.0.50; Fringe at scroll bar side is wider (sometimes).


From: Jan Djärv
Subject: bug#6592: 24.0.50; Fringe at scroll bar side is wider (sometimes).
Date: Sun, 11 Jul 2010 10:15:54 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1



YAMAMOTO Mitsuharu skrev 2010-07-11 05.48:
On Sat, 10 Jul 2010 11:03:08 +0200, Jan Djärv<jan.h.d@swipnet.se>  said:

Hasn't it been like that since this change?

2007-07-27 YAMAMOTO Mitsuharu<mituharu@math.s.chiba-u.ac.jp>

Exactly.  For more info, see the thread starting from
http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg00295.html


There is something off with the calculations for the frame size
then.  Check attached screen shots.  The right fringe is not
visible.

The change I made in 2007-07-27 has nothing to do with the calculation
of fringe width, the position of fringes, or frame size calculation.
It just fills the gap between a fringe and a scroll bar with the
fringe background color when appropriate.  The gap is still a part of
scroll bar area painted by the same color with the adjacent fringe
background.  So if something is wrong with frame size calculation,
then that should have happened without my change.

That is true. I see your patch uses WINDOW_CONFIG_SCROLL_BAR_WIDTH, and there is a corresponding FRAME_CONFIG_SCROLL_BAR_WIDTH, but that is never set.

However, I think that scroll bars at the frame level (i.e. left or right edge of the frame) don't need any padding. It is only on other window scroll bars
that padding is needed, to keep integral column width.

I'll try something based on that.

        Jan D.





reply via email to

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