automatically resize GUI elememts

Hi all

is there a way to make GUI windows, labels, textfields etc automatically resize to fit their content?

Thanks in advance

I hate to say RTFM, but… try it…. If you haven’t already, you should read the GUI Scripting Guide in the manual.

If you mean you want the GUI to change scale according to the screen resolution, you will probably find the techniques described in this thread useful.

no plain old GUILayout.ExpandWidth and Height was what I was looking for - had looked everywhere but was searching for the wrong keywords. That thread looks interesting though and will no doubt come in handy in the near future.

Thanks for the help