- Home /
Changing the font style on a button
How do I change the font size on a button. I have added a GUIStyle which I can assign to a button but when I do the button looses the box outline around the button so it looks like text instead of a button (but it still works like a button)? This does change the font size but I still need the button to look like a button.
Jason
Answer by whydoidoit · Jan 04, 2013 at 01:08 AM
Create your initial guistyle with
var buttonStyle = new GUIStyle("button");
Then change the font size.
if you have received sufficient/correct answers to your question(s) then please consider clicking on the check mark underneath the thumbs down to indicate satisfaction with the answer.
I tried giving an answer a thumbs up but a popup box told me I did not have permission to do that.
the check mark under the thumbs down (should be grey, but when clicked turns green, and outlines the question in green)
for the privileges/rights/responsibilities you have as a user please remember to read through this
Yep, also you can just look to the right of this page .... Unity Answers tutorial video! : http://video.unity3d.com/video/7720450/tutorials-using-unity-answers
Your answer

Follow this Question
Related Questions
U3DXT Webview GUILayout.Button Problem 0 Answers
Unity 4.6's button Bug? 1 Answer
Unity 4.6: Drag and drop 1 Answer
Use Canvas Buttons as Input Axis 1 Answer