Does the issue occur in the editor or during gameplay?
during gameplay
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
n/a
Briefly describe the issue you're experiencing:
When a Text Field's 'text' property is set (via script) to a body of text larger than the element, the text displays properly with the top of the body of text at the top of the field, but the scroll bar is positioned at a random location along the scroll bar track. What's more, if you then scroll, either via the mouse wheel or by click and dragging the scroll bar, it will instantaneously pop the text field to the location of the scroll bar. So, as a result, if the text is at the top and the bar starts at the middle, if the player wants to scroll down a bit from the top, the text will suddenly be half way down, forcing the player to scroll back all the way to the top to return to where they intended to be.
Are there any errors in the in-game debug console or external console window?
none
Provide the steps necessary to reproduce the issue:
-setup a widget with a Text Field and set it to read-only (have not tested without read-onlyactive)
-set (via script during runtime) the widget element text field's text to a body of text larger than the element's size on the widget (so that a scroll bar becomes necessary)
-brace for confusion as you first try to scroll the large body of text
Image 1: when text field is set to large text. the top of the text field is the top of the body of text, but the scroll bar is nearly half way down:
Image
Image 2: following image 1, I scroll down slightly. Now the text field displays the body of text all the way down in the middle of the body of text, accurate now to the scroll bar location
