Fix.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@436 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -65,7 +65,7 @@ public class TextFieldUtil
|
|||||||
|
|
||||||
Util.init(tf, initProps, null, MASK_FIELD_PROPS);
|
Util.init(tf, initProps, null, MASK_FIELD_PROPS);
|
||||||
tf.text = text;
|
tf.text = text;
|
||||||
if (tf.autoSize != null) {
|
if (tf.autoSize != TextFieldAutoSize.NONE) {
|
||||||
tf.width = tf.textWidth + WIDTH_PAD;
|
tf.width = tf.textWidth + WIDTH_PAD;
|
||||||
tf.height = tf.textHeight + HEIGHT_PAD;
|
tf.height = tf.textHeight + HEIGHT_PAD;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user