Using TLFTextfield and UIScrollbar ... A bug?
Hi,
I'm using the TLFTextfield with the UIScrollbar as part of a Chat Application.
Everything is working fine exept the way the "thumb" on the scroll bar resizes as the height of the TLFTextfield grows.
As each line is added to the textfield beyond it´s visible boundries the "thumb" shrinks exponentially, so that when there are just three lines of scrollable text, the thumb is already tiny.
This doesn´t happen if I use a Classic Text Field, where the "thumb" shrinks at a much more gradual rate.
Comparing the two, it looks like the difference is down to the _maxScrollPosition variable in the ScrollBar. In the Classic Text the _maxScrollPosition refers to the number of lines, where in TLFTextfield it refers to the number of pixels.
Is this a bug?
How can I get the UIScrollBar to scroll normally with the TLFTextfield?
Thanks in advance....
