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);
|
final SimulationPlot myPlot = new SimulationPlot(simulation, config, initialShowPoints);
|
||||||
|
|
||||||
// Create the dialog
|
// Create the dialog
|
||||||
JPanel panel = new JPanel(new MigLayout("fill"));
|
JPanel panel = new JPanel(new MigLayout("fill","[]","[grow][]"));
|
||||||
this.add(panel);
|
this.add(panel);
|
||||||
|
|
||||||
final ChartPanel chartPanel = new SimulationChart(myPlot.getJFreeChart());
|
final ChartPanel chartPanel = new SimulationChart(myPlot.getJFreeChart());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user