summaryrefslogtreecommitdiffstats
path: root/Project/IndMotorForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/IndMotorForm.cpp')
-rw-r--r--Project/IndMotorForm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Project/IndMotorForm.cpp b/Project/IndMotorForm.cpp
index 177b42b..6af2433 100644
--- a/Project/IndMotorForm.cpp
+++ b/Project/IndMotorForm.cpp
@@ -3,6 +3,7 @@
IndMotorForm::IndMotorForm(wxWindow* parent, IndMotor* indMotor) : IndMotorFormBase(parent)
{
+ SetSize(GetBestSize());
m_buttonStabButton->Enable(false);
IndMotorElectricalData data = indMotor->GetElectricalData();