title: Dynamically change row size PySimpleGUI
body: <p>I am trying to dynamically display rows in the UI when a button is pressed.</p>
  <p>To do this, I am first declaring the row in the layout, but making it hidden. Then when I get the value, I make the row hidden.</p>
  <p>Sometimes the text is very large, so I am using the textwrap's fill method in python. So this gives me text with 2 to 3 rows.</p>
  <p>But when I try to, each character appears in different rows.</p>
  <pre><code>disp_text = &quot;Text:\n{}&quot;.format(textwrap.fill(some_text,70))
  
  size = (70,disp_text.count(&quot;\n&quot;)+1)
  
  window['-TEXT-'].set_size(size)
  
  window['-TEXT-'].update(value = disp_text,visible = True)
  </code></pre>
  <p>Assume <code>some_text</code> is <code>&quot;Hello how are you....(and some 50 other characters)&quot; </code></p>
  <p>Now, with the above string, the <code>size</code> is <code>(70,3)</code></p>
  <p>So, ideally it should wrap <code>some_text</code> into 3 lines.</p>
  <p>But the actual output in the GUI is:</p>
  <pre><code>H
  e
  l
  </code></pre>
  <p>Which is basically the first 3 characters in <code>some_text</code> in 3 seperate lines instead of <code>some_text</code> as a while in 3 different lines.</p>
  <p>How does one fix this?</p>