formattedHeight and scrollbars

Claus Dreischer claus at dreischer.de
Sat Mar 5 04:55:33 EST 2011


Fixed with 4.6.0-dp-6.

http://quality.runrev.com/qacenter/show_bug.cgi?id=9404


We can now use the formattedHeight (or Width) reliably to decide if a
field needs scrollbars or not.

Regards,
	Claus.



Am 16.02.11 22:03, schrieb Claus Dreischer:
> 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.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list