Render the text in the left and right positions

I could able to place the text to top and bottom However, in my usecase, the text should be rendered to the model left or right.

example demo

If the text is aligned to the left, the entire text should start from the left edge of the model. The label should not extend beyond the left side of the model.

Expected output :

Thanks

Not that much to change :thinking:

Demo: https://codepen.io/prisoner849/full/raNrmRZ

2 Likes