This version of Unity is unsupported.

GUIStyle.stretchWidth

Switch to Manual
public bool stretchWidth;

Description

Can GUI elements of this style be stretched horizontally for better layouting?

using UnityEngine;

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