Merge pull request #3803 from NativeScript/hhristov/label-single-line

Made label to be single line again
This commit is contained in:
Vasil Chimev
2017-03-15 19:21:33 +02:00
committed by GitHub

View File

@ -19,6 +19,8 @@ export class Label extends TextBase implements LabelDefinition {
public _createNativeView() {
const textView = this._android = new android.widget.TextView(this._context);
textView.setSingleLine(true);
textView.setEllipsize(android.text.TextUtils.TruncateAt.END);
return textView;
}
}