Hello there, please, is there some way to center the text in the “InputText” GUI component? The text should be in the middle of “Input text”. Thanks for your time.
I would evaluate
input.margin = 0.5*(width - advancedTexture.getContext().measureText(input.text).width) + 'px';
Additionally you can add observer of
onTextPasteObservable for paste-cases.
@Takemura, you are on fire !!! thanks for all the help within the community !!!
I have to thank aswell. It is a pleasure to work with you guys and participate on this awesome engine.