Problem Description
Textbox textHeight and textWidth don't take work well when textbox is out of the boundaries of the project.
Attach a Capx
https://www.dropbox.com/s/fiegbhqxsrxq2 ... eport.capx
Description of Capx
A simple capx. with as little as possible elements to simulate what happens into my larger project when I try to determine textHeight and textWidth out of the screen (when the textbox itself is out of the screen, or further away)
Steps to Reproduce Bug
- Press "Push Me" a few times
- Drag the textbox to a lower region
- Press "Push Me" a few times again
- Drag the textbox to a higher region
- Press "Push Me" a few times again
Observed Result
The red line jumps erratically, like it doesn't know textHeight or textWidth. I can't use anything else, other than textHeight&textWidth since the text in my game changes dynamically and the red line needs to go under the text ,where it actually has text.
Note that there is a delay of 0.1 for the new textHeigh&textWidth to be calculated
Expected Result
The red line is always placed below the newly sized textbox, no matter if the textbox is near the top, out of bounds or middle.
Affected Browsers
- Chrome: (YES)
- CocoonJS: (YES)
Operating System and Service Pack
Windows 7 SP3
Construct 2 Version ID
Release 165
THANK YOU