PIXI.Input
PIXI.Input copied to clipboard
center text doesn't work in pixi v3
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!