title: Help with problematic layout using MigLayout
body: <p>I've been trying to align some objects in my java project in a certain way but with no success. I am using MigLayout for the layout and this is how I would like it to look:</p>
  
  <p><img src="https://i.stack.imgur.com/9a3oo.png" alt="Desired layout"></p>
  
  <ol>
  <li>The sidebar should have a static width (220px) and be docked left.</li>
  <li>The right column should have a fluid width and expand according to window size.</li>
  <li>The footer should be docked to the bottom and have a static height, fluid width.</li>
  </ol>
  
  <p>This is the code that I have got now:</p>
  
  <pre><code>this.setLayout(new MigLayout("fill, wrap 2", "[30%][70%]", "grow"));
  
  this.add(sourceList, "w 30%");
  this.add(listView, "w 70%");
  this.add(bottomBar.getComponent(), "growx, push, span");
  </code></pre>
  
  <p>I've been trying to understand the usage instructions but they are hard to understand. I was hoping someone here had knowledge about working with MigLayout and could help me.</p>