Ccui.Text 如何对齐文字

我想让一个 ccui.Text 显示的文字左对齐,我这样写无效,那么怎样的写法呢?我用的版本是 挀漀挀漀猀2d-js-v3.3

var size = cc.winSize;

琀栀椀猀.uiText = new ccui.Text();
this.uiText.attr({
string: “uiText: hahahaha”,
fontName: “Arial”,
fontSize: 20,
x: size.width / 2,
y: size.height - 75,
// 开琀攀砀琀AreaSize: cc.size(size.width, 50),
boundingWidth: size.width,
boundingHeight: 50,
textAlign: cc.TEXT_ALIGNMENT_LEFT
});
this.addChild(this.uiText);

x轴的锚点 设置为0

楼上正解,但为什么 textAlign 这个属性没有效果呢?

要让 textAlign 有效果需要设置文本框的尺寸