title: Fabricjs Fixed TextBox
body: <p>How can I fix the size of a textBox in order to prevent it to overflow its size when typing (fixed width and height)?</p>
  
  <pre><code>var canvas = window._canvas = new fabric.Canvas('c');
  
  var text = new fabric.Textbox('MyText', {
      width: 300,
      height: 300,
      top: 5,
      left: 5,
      hasControls: false,
      fontSize: 30,
      fixedWidth: 300,
      fixedFontSize: 30
  });
  canvas.add(text);
  </code></pre>
  
  <p><a href="http://jsfiddle.net/643qazk0/2/" rel="noreferrer">http://jsfiddle.net/643qazk0/2/</a></p>