How do I use SpriteFont for text inside TextBox?

Get help using Construct 2

Post » Mon Mar 03, 2014 5:11 pm

Is it possible to use a SpriteFont for the text that is typed inside a TextBox? This way I can control exactly how the text/font looks in the TextBox. Or are the only font and size configurations available in CSS?
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Mon Mar 03, 2014 5:41 pm

They are two very separate objects, your best bet may be to store the text from the textbox in a variable and use that variable to set the text of the spritefont object...
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,573


Return to How do I....?

Who is online

Users browsing this forum: zsoldiers and 6 guests