GUI elemnts autosize

Hi guys. Is there any way to make, for example GUI.Box, with autosize rectangle. Now if i have big text inside box, its cut on borders. Thanks)

GUILayout.Box("some text");

You can define how you want your GUI layout to appear if you check out the GUI layout docs:

http://unity3d.com/support/documentation/ScriptReference/GUILayout.html

No need for a Rect and they resize with more content (if you want them to)