Skip to content
New issue

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

Text rendered center aligned if text width is shorter than the 'wrap' #20

Open
ptamzz opened this issue Jan 22, 2016 · 1 comment
Open

Comments

@ptamzz
Copy link

ptamzz commented Jan 22, 2016

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 });

screen shot 2016-01-22 at 9 21 12 pm

@brianchirls
Copy link
Contributor

I'm not able to replicate this. Can you share the code of your example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants