Puzzled with text length

Sometimes I waste so much time scratching my head at simple things like this :face_with_head_bandage: :

I have attachment files with a spinner at the end. The attachment names are too long:

image

I set a limit to the length of the text or parent box, and now the entire text disappears:

image

This is super confusing. Why would it crush the text to nothing instead of bring it it to a new lign or truncating it? :thinking: