Removed comments.

This commit is contained in:
Nedyalko Nikolov
2016-08-16 17:07:09 +03:00
parent dc5b7d5bac
commit e28bdd8621

View File

@ -72,13 +72,8 @@ export class Label extends common.Label {
height = Number.POSITIVE_INFINITY;
}
//if (this.text !== "") {
this._fixedSize = (widthMode === utils.layout.EXACTLY ? FixedSize.WIDTH : FixedSize.NONE)
| (heightMode === utils.layout.EXACTLY ? FixedSize.HEIGHT : FixedSize.NONE);
//}
//else {
// this._fixedSize = FixedSize.NONE;
//}
var nativeSize = nativeView.sizeThatFits(CGSizeMake(width, height));
var labelWidth = nativeSize.width;