diff --git a/tests/js-tests/src/LabelTest/LabelTest.js b/tests/js-tests/src/LabelTest/LabelTest.js index 5f1ccf7d23..0fe9e9e2b2 100644 --- a/tests/js-tests/src/LabelTest/LabelTest.js +++ b/tests/js-tests/src/LabelTest/LabelTest.js @@ -1078,7 +1078,7 @@ var LabelTTFStrokeShadowTest = AtlasDemo.extend({ var fontDefRedShadow = new cc.FontDefinition(); fontDefRedShadow.fontName = "Arial"; fontDefRedShadow.fontSize = 32; - fontDefRedShadow.textAlign = cc.TEXT_ALIGNMENT_CENTER; + fontDefRedShadow.textAlign = cc.TEXT_ALIGNMENT_LEFT; fontDefRedShadow.verticalAlign = cc.VERTICAL_TEXT_ALIGNMENT_TOP; fontDefRedShadow.fillStyle = redColor; fontDefRedShadow.boundingWidth = blockSize.width; @@ -1099,7 +1099,7 @@ var LabelTTFStrokeShadowTest = AtlasDemo.extend({ var fontDefBlueStroke = new cc.FontDefinition(); fontDefBlueStroke.fontName = "Arial"; fontDefBlueStroke.fontSize = 32; - fontDefBlueStroke.textAlign = cc.TEXT_ALIGNMENT_CENTER; + fontDefBlueStroke.textAlign = cc.TEXT_ALIGNMENT_LEFT; fontDefBlueStroke.verticalAlign = cc.VERTICAL_TEXT_ALIGNMENT_TOP; fontDefBlueStroke.fillStyle = blueColor; fontDefBlueStroke.boundingWidth = blockSize.width; @@ -1118,7 +1118,7 @@ var LabelTTFStrokeShadowTest = AtlasDemo.extend({ var fontDefRedStrokeShadow = new cc.FontDefinition(); fontDefRedStrokeShadow.fontName = "Arial"; fontDefRedStrokeShadow.fontSize = 32; - fontDefRedStrokeShadow.textAlign = cc.TEXT_ALIGNMENT_CENTER; + fontDefRedStrokeShadow.textAlign = cc.TEXT_ALIGNMENT_LEFT; fontDefRedStrokeShadow.verticalAlign = cc.VERTICAL_TEXT_ALIGNMENT_TOP; fontDefRedStrokeShadow.fillStyle = blueColor; fontDefRedStrokeShadow.boundingWidth = blockSize.width;