TGUI Forum

General Category => General Discussion => Topic started by: billarhos on 18 July 2019, 15:48:43

Title: Adding long lines in ChatBox
Post by: billarhos on 18 July 2019, 15:48:43
How can avoid overlaping text lines when i add line that exceed chatbox's width?
Title: Re: Adding long lines in ChatBox
Post by: texus on 18 July 2019, 18:39:23
Are texts overlapping for you? The lines should just be positioned below each other. It still works with some simple code here.
Title: Re: Adding long lines in ChatBox
Post by: billarhos on 18 July 2019, 19:20:35
Well it is not quite overllaping but lines has no gap between.
Title: Re: Adding long lines in ChatBox
Post by: texus on 18 July 2019, 19:23:20
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.
Title: Re: Adding long lines in ChatBox
Post by: billarhos on 18 July 2019, 19:23:59
I change the font and it solved.