Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Bindings - other languages
»
DotNet
»
Any newline characters for text class implemented right now?
Print
Pages: [
1
]
Author
Topic: Any newline characters for text class implemented right now? (Read 10036 times)
0 Members and 1 Guest are viewing this topic.
Notion
Newbie
Posts: 17
Any newline characters for text class implemented right now?
«
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Any newline characters for text class implemented right now?
«
Reply #1 on:
April 05, 2021, 10:19:51 pm »
It's \n, not /n.
Logged
Laurent Gomila - SFML developer
Notion
Newbie
Posts: 17
Re: Any newline characters for text class implemented right now?
«
Reply #2 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.
Logged
Print
Pages: [
1
]
SFML community forums
»
Bindings - other languages
»
DotNet
»
Any newline characters for text class implemented right now?
anything