We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Even thought textAlign is set to left, a string if shorter than 1 full line, is rendered center-aligned.
textAlign
left
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 });
The text was updated successfully, but these errors were encountered:
I'm not able to replicate this. Can you share the code of your example?
Sorry, something went wrong.
No branches or pull requests
Even thought
textAlign
is set toleft
, 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 });
The text was updated successfully, but these errors were encountered: