浏览代码

add missing maxLines

/main
fzhangtj 6 年前
当前提交
6aca1b53
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 6
      Assets/UIWidgets/widgets/text.cs

6
Assets/UIWidgets/widgets/text.cs


{
public Text(string data, Key key = null, TextStyle style = null,
TextAlign? textAlign = null, bool? softWrap = null,
TextOverflow? overflow = null, double? textScaleFactor = null) : base(key)
TextOverflow? overflow = null, double? textScaleFactor = null, int? maxLines = null) : base(key)
{
D.assert(data != null);
this.textSpan = null;

this.softWrap = softWrap;
this.overflow = overflow;
this.textScaleFactor = textScaleFactor;
this.maxLines = maxLines;
TextOverflow? overflow = null, double? textScaleFactor = null) : base(key)
TextOverflow? overflow = null, double? textScaleFactor = null, int? maxLines = null) : base(key)
{
D.assert(textSpan != null);
this.textSpan = textSpan;

this.softWrap = softWrap;
this.overflow = overflow;
this.textScaleFactor = textScaleFactor;
this.maxLines = maxLines;
}
public readonly string data;

正在加载...
取消
保存