- Home /
Determining the title bar height of a GUI Window
Is there any way to determine the height/width of a title bar of a GUI.Window? Because, everytime you add a new component in the window, and If i place it (0,0,50,50) its overlapping the GUI.Window title bar. Is there any way to make the component appear inside the body of the window rather than the whole Window itself?
Answer by Waz · Aug 23, 2011 at 01:02 AM
If you are using GUILayout inside the window, then you should be using GUILayout.Window to create the window too, not GUI.Window.
Your answer
Follow this Question
Related Questions
How will i get new line in window data? 1 Answer
GUI.Window error. InvalidOperationException: Hashtable.Enumerator: snapshot out of sync. 0 Answers
Having a GUILayout Window position immediately at screen center 5 Answers
Are dockable windows possible in-game. 2 Answers
ArgumentException: Getting control 0's position in a group with only 0 controls when doing Repaint 0 Answers