FairyGUI.GTextField.UpdateTextFormat C# (CSharp) Method

UpdateTextFormat() protected method

protected UpdateTextFormat ( ) : void
return void
        protected void UpdateTextFormat()
        {
            TextFormat tf = _textField.textFormat;
            tf.CopyFrom(_textFormat);
            if (_textFormat.font == null || _textFormat.font.Length == 0)
                tf.font = UIConfig.defaultFont;
            _textField.textFormat = tf;

            if (!underConstruct)
                UpdateSize();
        }