git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@436 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2008-03-06 22:05:58 +00:00
parent 017a81072f
commit 35bd324394
+1 -1
View File
@@ -65,7 +65,7 @@ public class TextFieldUtil
Util.init(tf, initProps, null, MASK_FIELD_PROPS);
tf.text = text;
if (tf.autoSize != null) {
if (tf.autoSize != TextFieldAutoSize.NONE) {
tf.width = tf.textWidth + WIDTH_PAD;
tf.height = tf.textHeight + HEIGHT_PAD;
}