TextInput1 seems centered on the screen, but even if other components inside same Vert. Arr. are centered, it aligns left (width it’s set to 50% ) when tested.
From the left :
function does not work,
button 1 is ok ,
button2 : the if block do not return the text “void” on label2 when textinput1 is empty and no lenght is returned on label1