Text overlaps label boundaries

Is there any way to display only the text that can fit inside a label boundaries?

You can add overflow:hidden; to the style property of the label. This will work in most cases.

https://www.w3schools.com/css/css_overflow.asp

Thank you. George.