I have a toolbar in the awesomely awesome GUILayout system. (Yes, I normally hate doing UI.) I want to have two lines of text in each button. I have tried putting newlines in the button names:
string[] m_EditModeNames =
{
"None",
"Create\nNode",
"Move\nNode",
"Move\nBall",
};
and putting a height on the toolbar:
GUILayout.Label( "Mouse Action:" );
m_EditMode = (EditMode)GUILayout.Toolbar( (int)m_EditMode, m_EditModeNames, GUILayout.Height(50) );
to no avail. The newline makes the text shoot off the button, and the height field just widens the space the buttons would take up if they were wider (see pic).
Can you enbiggen my buttons?