- Home /
U3DXT Webview GUILayout.Button Problem
I rebuild the U3DXT webview example with just two buttons with "GUILayout.Button('name', GUILayout.ExpandHeight(true))" below it. My "noob" problem is now that the font & fontsize of those buttons can't be changed even if I'm trying to use GUIStyle settings like ButtonTextStyle or TextStyle on it. If I reorganize OnGUI() with my own Button-Creation-Method (and without the GUILayout.BeginArea...) then it won't show up immedeatly. If I create these buttons with GUILayout.Button('name', ButtonTextStyle, GUILayout.ExpandHeight(true)) instead, then nothing as the button text is shown.....
What am I doing wrong and is there a simple solution that I didn't saw?
Hi, we are not sure the exact problem you are describing. Can you post some code snippets and what you see? Also, it seems like this is related to Unity GUI functions, can you let us know what Unity version you are using and whether you see this on device or in Unity Editor?
Your answer
Follow this Question
Related Questions
GUILayout.Button image 0 Answers
Attention U3DXT - Help Needed Urgently 0 Answers
GUILayout.button hover texture not changing immediately 2 Answers
Change GUILayout.Button fontsize 0 Answers
Changing the font style on a button 1 Answer