GUIStyle.stretchHeight
var stretchHeight: bool;
bool stretchHeight;
stretchHeight as bool
Description

Can GUI elements of this style be stretched vertically for better layout?

	function OnGUI() {
		GUI.skin.button.stretchHeight = true;
	}
using UnityEngine;
using System.Collections;

public class Example : MonoBehaviour {
    void OnGUI() {
        GUI.skin.button.stretchHeight = true;
    }
}
import UnityEngine
import System.Collections

public class Example(MonoBehaviour):

	def OnGUI() as void:
		GUI.skin.button.stretchHeight = true