On 2/17/12 11:05 PM, Scott Rossi wrote:
The answer to life may be 42, but my question is: "6?"
The setup: I create a new scrolling field, fill it with a bunch of text, and
drag the scrollbar all the way down, setting the field to its max vertical
scroll. When I compare the formattedHeight of the field minus its physical
height with the current vscroll of the field, I get a difference of 6. The
vscroll of the field is consistently 6 pixels less. Where does this value
come from?
No changes to margins, border, textHeight, or other visual properties seems
to have any bearing on this difference. Oddities like these make it
difficult to reliably interact with LC controls.
Not a clue. Could it be due to the focusborder? We can toggle the
visibility, but the engine may still be counting it whether it is
showing or not.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode