formattedHeight and scrollbars

Claus Dreischer claus at dreischer.de
Wed Feb 16 16:03:15 EST 2011


Hi,

I'm a bit confused with the formattedHeight of a field and an additional
scrollbar:

The content of a field has the formattedHeight of e.g. 74
The scrollbarwidth is set to 10, but the hScrollbar is not enabled yet.

Now when i enable the hScrollbar,
the formattedHeight of that field jumps to *94*.

The scrollbar is counted twice.

I would have expected the new formattedHeight to jump to 84.

Can someone please explain the logic behind this (when it's intended)?


Regards,
	Claus.




More information about the use-livecode mailing list