title: How to ... with MigLayout
body: <p>I am trying to create a layout that will looking like:</p>
  
  <pre><code>+---+--------+---+
  |   |        |   |
  |   |        |   |
  +---+        +---+
  |   |        |   |
  |   |        |   |
  +---+--------+---+
  </code></pre>
  
  <p>Central cell should be twice as wide as other. I am trying achieve this with such code:</p>
  
  <pre><code>    val panel = new JPanel(new MigLayout("debug", "grow","grow" ))
      panel.add(new JPanel)
      panel.add(new JPanel, "span 2 2")
      panel.add(new JPanel, "wrap")
      panel.add(new JPanel)
      panel.add(new JPanel)
  </code></pre>
  
  <p>But as result all my cells have same width:</p>
  
  <pre><code>+----+----+----+
  |    |    |    |
  |    |    |    |
  +----+    +----+
  |    |    |    |
  |    |    |    |
  +----+----+----+
  </code></pre>
  
  <p>What I do wrong? I am using Scala but I don't think that problem is herein.</p>
  
  <p><strong>UPDATE</strong>
  Maybe someone can explain why this didn't work. Even if i try reproduce example from QuickStart guide it didn't work :</p>
  
  <p><a href="https://i.stack.imgur.com/LPGcc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LPGcc.png" alt="alt text"></a>
  </p>
  
  <p>My code:</p>
  
  <pre><code>    val panel = new JPanel(new MigLayout("debug", "grow","grow" ))
      wrapTab.add(new JPanel)
      wrapTab.add(new JPanel, "span 2 2")
      wrapTab.add(new JPanel, "wrap")
      wrapTab.add(new JPanel)
      wrapTab.add(new JPanel, "wrap")
      wrapTab.add(new JPanel)
      wrapTab.add(new JPanel)
  </code></pre>
  
  <p>And as result all cols has equal size.</p>