You cannot set the label’s text alignment programmatically(with blocks) by default. However you can use this extension by @Boban to set the same from blocks
OR
You can use Dynamic component extension by @yusufcihan and set the alignment in label with help of below blocks