Fix layout in plot dialog introduced with new MigLayout library.
This commit is contained in:
parent
b662cdc39f
commit
b64bcd791b
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user