Font size / MeassureString

Hi,

is there any way to execute a MeassureString based on the Font given in the Skin? I am currently writing a console and would like to use word wrapping as well. Since the ScrollView needs to know the size of the “inner” Rect, I want to use these kind of functions to dynamically calculate the size of strings within a string array.

Jan

The GUIStyle class has a method called CalcSize that finds the display size of a GUI element. The doc page explains (briefly) how to handle word wrapping.