SFML community forums

Bindings - other languages => DotNet => Topic started by: Notion on April 05, 2021, 12:04:25 pm

Title: Any newline characters for text class implemented right now?
Post by: Notion on April 05, 2021, 12:04:25 pm
Hey everyone,

for C++ the /n character inserts a line break into a text element. When I try it in C# its a "/n" in plain text and doesnt change the format. Any way to line break by inserting a character or do I have to use a second text object?
Title: Re: Any newline characters for text class implemented right now?
Post by: Laurent on April 05, 2021, 10:19:51 pm
It's \n, not /n.
Title: Re: Any newline characters for text class implemented right now?
Post by: Notion on April 17, 2021, 12:21:32 am
Oh. Yeah. Embarrassing. Thanks this solved my problem. I think I need to start a new account so people dont think I'm the idiot I am lol. Still, thanks for taking time to answer something as basic as that. :)