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

center text doesn't work in pixi v3 #5

Open
woo-industries opened this issue Sep 30, 2016 · 0 comments
Open

center text doesn't work in pixi v3 #5

woo-industries opened this issue Sep 30, 2016 · 0 comments

Comments

@woo-industries
Copy link

Hi SebastianNette,

Thanks for the great lib, I've used it extensively in a project but now realize the align: center option doesn't work for pixi v3 and I can't figure out why.

My code is simple enough, but whether I use 'left', 'right' or 'center', the display is always 'left'

newInputField = new PIXI.Input({width: 440, height: 30, padding: 5, backgroundColor: "#7B7B7B", borderWidth: 0, borderRadius: 9, outline: 0, align: "center", text: {font: "18px Helvetica", fill: "#fff", align: "center"}});

Please let me know what I might be doing wrong, or if there is some easy way to fix this, thank you!

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

1 participant