Browse Source

Increased height of Say text area

master
chrisgregan 11 years ago
parent
commit
8597df67e5
  1. 2
      Assets/Fungus/Editor/SayCommandEditor.cs
  2. 2
      Assets/Fungus/VisualScripting/Sequence.cs

2
Assets/Fungus/Editor/SayCommandEditor.cs

@ -16,7 +16,7 @@ namespace Fungus
EditorGUILayout.PrefixLabel(new GUIContent("Say Text", "Text to display in dialog")); EditorGUILayout.PrefixLabel(new GUIContent("Say Text", "Text to display in dialog"));
EditorStyles.textField.wordWrap = true; EditorStyles.textField.wordWrap = true;
string text = EditorGUILayout.TextArea(t.text); string text = EditorGUILayout.TextArea(t.text, GUILayout.MinHeight(50));
if (text != t.text) if (text != t.text)
{ {
Undo.RecordObject(t, "Set Text"); Undo.RecordObject(t, "Set Text");

2
Assets/Fungus/VisualScripting/Sequence.cs

@ -11,8 +11,6 @@ namespace Fungus
public class Sequence : MonoBehaviour public class Sequence : MonoBehaviour
{ {
public string titleText;
[HideInInspector] [HideInInspector]
public Rect nodeRect = new Rect(10, 10, 100, 100); public Rect nodeRect = new Rect(10, 10, 100, 100);

Loading…
Cancel
Save