emacs-devel
[Top][All Lists]
Advanced

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

Re: Walking zigzag in a Custom buffer


From: Lennart Borgman
Subject: Re: Walking zigzag in a Custom buffer
Date: Thu, 18 Aug 2005 00:46:35 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Jason Rumney wrote:

Lennart Borgman <address@hidden> writes:

If one looks at "Property:" and "Value:" they seem to be aligned
horizontally ok. However placing point at one of those words and
moving up and down between them shows that something else in Emacs
seems to make a different computation of the button width than was
used when displaying the buffer.

This makes me think there is a potential bug.

This is due to the fact that Emacs uses characters, not pixels as its
unit of horizontal position. The decoration on the buttons causes them
to be wider than the equivalent fixed-width text without such
decoration. You can see this by going to the beginning of the line
containing "Value", and moving foward 3 characters. I think the
alignment of the colons is more by careful hand placement than a
difference in computation of button width.
Thanks, I guess you are right. I did not think about that possibility. Looks to me like one button decoration is a half character wide there. Seems to be the easiest way to solve it.




reply via email to

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