You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. create a MTTextArea without any X or Y coordinates just the mtapp and font
2. then call the methods either setHeightLocal(float) or setSizeLocal(float,
float) on the MTTextArea
What is the expected output? What do you see instead?
the height of the MTTextArea is 10 pixels higher than what would be expected if
you had of passed in a width and height parameters to the constructor of the
MTTextArea.
What version of the product are you using? On what operating system?
Version 0.98 on MacOSX 10.5.8 and Windows 7, both 64 bit.
Please provide any additional information below.
I made a forum post about it and discussed with Therion on #mt4j freenode.
http://nuigroup.com/forums/viewthread/14164/
The workaround to this problem is to modify two of the new vertices when
this.setVertices is called in both of these methods in the MODE_EXPAND: case.
Instead of having:
height + (2 * innerPaddingTop)
just change to:
height
However, there are no guarantees that this is fully tested and that it won’t
affect other parts of the code. I am yet to test in more detail.
Kind regards,
Craig
http://homepages.ecs.vuw.ac.nz/~craig
Original issue reported on code.google.com by craig.anslow@gmail.com on 21 Jun 2012 at 1:23
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
craig.anslow@gmail.com
on 21 Jun 2012 at 1:23The text was updated successfully, but these errors were encountered: