Fix layout in plot dialog introduced with new MigLayout library.

This commit is contained in:
kruland2607 2013-11-15 14:14:31 -06:00
parent b662cdc39f
commit b64bcd791b

View File

@ -45,7 +45,7 @@ public class SimulationPlotDialog extends JDialog {
final SimulationPlot myPlot = new SimulationPlot(simulation, config, initialShowPoints);
// Create the dialog
JPanel panel = new JPanel(new MigLayout("fill"));
JPanel panel = new JPanel(new MigLayout("fill","[]","[grow][]"));
this.add(panel);
final ChartPanel chartPanel = new SimulationChart(myPlot.getJFreeChart());