title: How to force a minimum height of a JFace Wizard in Eclipse?
body: <p>I'm presenting a wizard (code <a href="https://github.com/bioclipse/bioclipse.hpc/blob/master/plugins/net.bioclipse.hpc/src/net/bioclipse/hpc/wizards/ExecuteCommandWizard.java" rel="nofollow noreferrer">here</a>) that gets too low, so the content does not show completely (see screenshot below):</p>
  
  <p><img src="https://i.stack.imgur.com/pQDK4.png" alt="enter image description here"></p>
  
  <p>How can I force the wizard to have a minimum height?</p>
  
  <p>According to the answer on <a href="https://stackoverflow.com/questions/3367075/set-size-of-jface-wizard">this question here on StackOverflow</a>, the wizard will be the same height as the largest wizardpage in the wizard, but my wizard obvilusly does not get resized according to at least the <em>content</em> of the largest page, and I also tried to set the minimum height of the first visible wizard page with code like this in the WizardPage class:</p>
  
  <pre><code>@Override
  public void createControl(Composite parent) {
    // create the composite to hold the widgets
    Composite composite =  new Composite(parent, SWT.NULL);
    composite.setSize(300, 1024); // TODO: Does this work?
  
    GridData gridData = new GridData(300, 1024);
    gridData.heightHint = 1024;
    gridData.minimumHeight = 1024;
    composite.setLayoutData(gridData);
  </code></pre>
  
  <p>... but without success so far.</p>
  
  <p>Any hints?</p>