diff options
| author | Jacob Palecki <[email protected]> | 2020-09-07 20:30:15 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-07 20:30:15 -0700 |
| commit | 1462da675f1bc36d2a770413f13ccc68165cf1e9 (patch) | |
| tree | b2636b1455668b42121ffb1133034ed2b30ce672 /grapher/Models/Charts/AccelCharts.cs | |
| parent | Fix some separation bugs (diff) | |
| download | rawaccel-1462da675f1bc36d2a770413f13ccc68165cf1e9.tar.xz rawaccel-1462da675f1bc36d2a770413f13ccc68165cf1e9.zip | |
Add chart resize
Diffstat (limited to 'grapher/Models/Charts/AccelCharts.cs')
| -rw-r--r-- | grapher/Models/Charts/AccelCharts.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/grapher/Models/Charts/AccelCharts.cs b/grapher/Models/Charts/AccelCharts.cs index 5e4b3de..6d9f0a1 100644 --- a/grapher/Models/Charts/AccelCharts.cs +++ b/grapher/Models/Charts/AccelCharts.cs @@ -132,6 +132,22 @@ namespace grapher } } + public void SetWidened() + { + SensitivityChart.SetWidened(); + VelocityChart.SetWidened(); + GainChart.SetWidened(); + UpdateFormWidth(); + } + + public void SetNarrowed() + { + SensitivityChart.SetNarrowed(); + VelocityChart.SetNarrowed(); + GainChart.SetNarrowed(); + UpdateFormWidth(); + } + private void OnEnableClick(object sender, EventArgs e) { EnableVelocityAndGain.Checked = !EnableVelocityAndGain.Checked; |