Text rendered center aligned if text width is shorter than the 'wrap'
ptamzz opened this issue · 1 comments
ptamzz commented
Even thought textAlign
is set to left
, a string if shorter than 1 full line, is rendered center-aligned.
The attached image is how you get if declared as below:
var tempRender = container.text({ wrap: textWrapFactor, font: fontSize + 'pt Roboto', textAlign: 'left', fillStyle : '#333333', text : str });
brianchirls commented
I'm not able to replicate this. Can you share the code of your example?