title: adding panel within panel dynamically with autoadjust
body: <p>I want to add panels within a panel dynamically, since i dont know upfront the numbers of panels which i need to add.</p>
  
  <p>This works fine if i do</p>
  
  <pre><code>panel.insert(&lt;panel to be added&gt;);
  </code></pre>
  
  <p>The parent panel is configured with the hbox layout.</p>
  
  <p>But if the overall width of added panels goes beyond the parent panel width then there is a overflow and a horizontal scrollbar appears.</p>
  
  <p>Rather what i am looking is it should add the panels to the next line automatically if it reaches the parent panels width.</p>
  
  <p>Any solution to the above problem, might be i need to use some other layout here but not sure on that.</p>
  
  <p>Thanks</p>