[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Walking zigzag in a Custom buffer
From: |
Jason Rumney |
Subject: |
Re: Walking zigzag in a Custom buffer |
Date: |
Wed, 17 Aug 2005 23:09:31 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
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.