Merge branch 'unstable' into update-version

This commit is contained in:
JoePfeiffer 2022-03-25 12:36:45 -06:00
commit 66349d5996
4 changed files with 39 additions and 0 deletions

View File

@ -1,6 +1,37 @@
Release Notes
=============
OpenRocket 22.02.beta.02
------------------------
(through PR1261)
NOTE: Tube fin simulation is currently broken, and will be fixed in a future beta.
### New Features
* Check Java version at startup (requires Java 11)
* Opacity slider on appearance panel
* Export sim plots as PNG images
### Notable Bug Fixes
* Rocksim Import/Export
** Corrected position offsets when importing and exporting (fixes issue 1164)
** Corrected fin shape when importing (fixes issue 1220)
* Side boosters
** Added stage selector for side boosters (fixes issue 1208)
** Fixed simulation bug with side boosters (fixes issue 1210)
** Eliminated warning when loading designs with boosters (fixes issue 1196)
** Fixed Simulation Plot range with boosters (fixes issue 1228)
* More reliable creation of simulation when creating a new configuration (fixes issue 1163)
* No longer need to click on motor config to get flight data (fixes issue 1175)
* Motor database search more robust, especially for CTI (fixes issue 1174)
* More accurate and reliable simulation of fins on transitions (fixes issues 1173 and 1243)
* _plus other miscellaneous fixes_
### Other
* Set default color for all components to #BBBBBB, with Shine=30 (closes issue 1192)
* Update Mac installer style to more standard "drag app to Applications folder"
OpenRocket 22.02.beta.01 (2022-02-25)
------------------------
(through PR1155)

View File

@ -3,6 +3,8 @@ package net.sf.openrocket.gui.plot;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.event.InputEvent;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
@ -58,6 +60,12 @@ public class SimulationPlotDialog extends JDialog {
final ChartPanel chartPanel = new SimulationChart(myPlot.getJFreeChart());
final JFreeChart jChart = myPlot.getJFreeChart();
panel.add(chartPanel, "grow, wrap 20lp");
// Ensures normal aspect-ratio of chart elements when resizing the panel
chartPanel.setMinimumDrawWidth(0);
chartPanel.setMaximumDrawWidth(Integer.MAX_VALUE);
chartPanel.setMinimumDrawHeight(0);
chartPanel.setMaximumDrawHeight(Integer.MAX_VALUE);
//// Description text
JLabel label = new StyledLabel(trans.get("PlotDialog.lbl.Chart"), -2);