title: PySimpleGui - window size doesnt autofit dynamically
body: <p>I'm trying to auto resize a PySimpleGUI window.</p>
  <p>consider the following:</p>
  <pre class="lang-py prettyprint-override"><code>import PySimpleGUI as sg
  
  CommandWindow = sg.Multiline(size=(80,20),echo_stdout_stderr=True,key=OUTPUT_KEY,visible=False)
  
  window = sg.Window(&quot;FOO&quot;, layout=[CommandWindow],element_justification='center')
  </code></pre>
  <p>when the event is triggered, a sg.Multiline element's visible trait is updated to True.</p>
  <p>then I refresh the window and it resizes (expands) to fit the element shown inside.</p>
  <p>when I change the visible trait to False again, the window maintain its size and doesnt shrink back.</p>
  <p>the execution as follows:</p>
  <pre class="lang-py prettyprint-override"><code>window[OUTPUT_KEY].update(visible=True/False)
  window.refresh()
  </code></pre>