GUIStyle.fixedHeight
var fixedHeight: float;
float fixedHeight;
fixedHeight as float
Description

If non-0, any GUI elements rendered with this style will have the height specified here.

	// Prints the value of fixedHeight.
	
	function OnGUI() {
		Debug.Log(GUI.skin.button.fixedHeight);
	}
using UnityEngine;
using System.Collections;

public class Example : MonoBehaviour {
    void OnGUI() {
        Debug.Log(GUI.skin.button.fixedHeight);
    }
}
import UnityEngine
import System.Collections

public class Example(MonoBehaviour):

	def OnGUI() as void:
		Debug.Log(GUI.skin.button.fixedHeight)