samreid / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

Mistake in java doc comment #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See 
http://piccolo2d.org/doc/piccolo2d.java/release-1.3/core/apidocs/edu/umd/cs/picc
olo/nodes/PText.html#setConstrainHeightToTextHeight(boolean):

Parameters:
constrainHeightToTextHeight - true if this text node should constrain its 
height to the width of its text

should read

Parameters:
constrainHeightToTextHeight - true if this text node should constrain its 
height to the *height* of its text

Original issue reported on code.google.com by 7...@mklussmann.de on 10 Dec 2011 at 7:28

GoogleCodeExporter commented 9 years ago
Good catch, thanks for the note.

Original comment by heue...@gmail.com on 10 Dec 2011 at 8:54

GoogleCodeExporter commented 9 years ago
Fixed on trunk

$ svn commit -m "Issue 231 ; doc fix, width --> height" 
src/main/java/org/piccolo2d/nodes/PText.java 
...
Committed revision 1158.

and on release-1.3-branch

$ svn commit -m "Issue 231 ; doc fix, width --> height" 
core/src/main/java/edu/umd/cs/piccolo/nodes/PText.java
...
Committed revision 1159.

Original comment by heue...@gmail.com on 10 Dec 2011 at 9:00

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 26 Nov 2013 at 5:42