title: NicEdit in Hidden Div is resized small
body: <p>I am trying to use the NicEdit editor for a textarea hidden in a div. When the user clicks a button, the targeted textarea's parent div is revealed. The width of the textarea is set to 100% of the parent div. The problem is that the parent div is hidden so the textrea has no width before the parent div is revealed. If I try to attach the NicEdit editor at the same time as revealing it's parent div, the editor appears tiny. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  function add_task_editor() {
          new nicEditor({buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','ul','link']}).panelInstance('task_description');
      };
  
  $('#trigger_it').click(function (e) {
   $('#parent_div').show();
   add_task_editor();
  
  });
  &lt;/script&gt;
  &lt;div id="parent_div" style="display: none;"&gt;
  &lt;textarea id="task_description"&gt;&lt;/textarea&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is there a way to fix this so that the editor's width is set to 100% of the parent div after it is loaded?</p>