- Home /
TextField Font size
how can i increase the font size of textfield, namestring=GUI.TextField(new Rect(320,100,300,80),namestring,10);
Don't discourage people with unnecessary down votes please.
Answer by HeyNau · Aug 27, 2015 at 06:50 AM
First of all. Graham, dont link something like this, is so ambiguous. Unity docs says: "fontSize is fontSize" -.-
Chalkesonali, your answer is right, but with some cap-mistakes..
In C# it would be:
GUI.skin.textField.fontSize = 30; Tested and works.
Answer by Graham-Dunnett · Jun 11, 2014 at 10:25 AM
It is documented here:
http://docs.unity3d.com/ScriptReference/GUIStyle-fontSize.html
Answer by chalkesonali · Jun 13, 2014 at 10:43 AM
fontsize of textfield can be changed by using: GUI.Skin.TextField.fontSize=30;
Your answer
Follow this Question
Related Questions
iOS Keyboard makes performance suffer 3 Answers
GUI.TextField 1 Answer
Cannot type in textfield in Chrome on Mac 0 Answers
Check if string contains letters 1 Answer