SFML community forums

Help => Graphics => Topic started by: buggy123 on December 22, 2009, 05:13:34 am

Title: text wrapping?
Post by: buggy123 on December 22, 2009, 05:13:34 am
How do you get a long string of text to display inside a "box" using the sf::String? I want it to make a new line whenever it runs out of room for the next word so it doesn't go out of the "box"

Is there a simple way to do this?
Title: text wrapping?
Post by: Laurent on December 22, 2009, 08:28:12 am
Check this:
http://www.sfml-dev.org/forum/viewtopic.php?t=1939