GUIStyle.contentOffset

var contentOffset : Vector2

Description

Pixel offset to apply to the content of this GUIstyle.

JavaScript
    // Prints the value of contentOffset inside customStyles[0]

function OnGUI() {
if(GUI.skin.customStyles.Length > 0)
Debug.Log(GUI.skin.customStyles[0].contentOffset);
}