title: How to set the size of a Button in Scala Swing?
body: <p>I'm trying to set the size of a button to a specific size of pixels with <code>minimumSize</code>, but it looks like it doesn't work.</p>
  
  <p>I even tried to subclass it and do it this way</p>
  
  <pre><code>class SizedButton(text0: String, width0: Int, height0: Int) 
                                        extends Button(text0) {
    minimumSize = new Dimension(width0, height0)
    // also tried preferredSize here ...
  }
  </code></pre>
  
  <p>but that didn't work either.</p>