From c0a22fdabb40d6ad0967c05080e38fb19dc30144 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 14 Oct 2008 21:24:50 +0000 Subject: [PATCH] Line wrappery. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@666 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/TextFieldUtil.as | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/as/com/threerings/flash/TextFieldUtil.as b/src/as/com/threerings/flash/TextFieldUtil.as index a6ba966e..68452df9 100644 --- a/src/as/com/threerings/flash/TextFieldUtil.as +++ b/src/as/com/threerings/flash/TextFieldUtil.as @@ -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