public bool stretchHeight ;

Descripción

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

using UnityEngine;

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