Adding long lines in ChatBox

Started by billarhos, 18 July 2019, 15:48:43

billarhos

How can avoid overlaping text lines when i add line that exceed chatbox's width?

texus

Are texts overlapping for you? The lines should just be positioned below each other. It still works with some simple code here.

billarhos

Well it is not quite overllaping but lines has no gap between.

texus

Is it possible that your font just renders that way? Because the only thing the ChatBox should be doing is adding newline characters at the end of the line, I don't think it positions those lines manually.

billarhos

I change the font and it solved.