Line wrappery.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@666 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2008-10-14 21:24:50 +00:00
parent 1daf5c206b
commit c0a22fdabb
+2 -1
View File
@@ -53,7 +53,8 @@ public class TextFieldUtil
* the specified width.
* @return true if truncation took place
*/
public static function setMaximumTextWidth (tf :TextField, width :Number, truncationString :String = "...") :Boolean
public static function setMaximumTextWidth (
tf :TextField, width :Number, truncationString :String = "...") :Boolean
{
if (tf.numLines > 1) {
// We only operate on single-line TextFields