Jason Rumney wrote:
Lennart Borgman <[EMAIL PROTECTED]> 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.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel