formattedHeight and scrollbars

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


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

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)?


More information about the Use-livecode mailing list