Fixed tuner autoplacement

This commit is contained in:
Maciej Suminski 2016-08-11 14:42:03 +02:00
parent bc433764fe
commit ba3ce9b566
1 changed files with 2 additions and 9 deletions

View File

@ -247,16 +247,9 @@ void SIM_PLOT_FRAME::AddTuner( SCH_COMPONENT* aComponent )
try try
{ {
TUNER_SLIDER* tuner = new TUNER_SLIDER( this, m_sidePanel, aComponent ); TUNER_SLIDER* tuner = new TUNER_SLIDER( this, m_sidePanel, aComponent );
m_tuneSizer->Add( tuner , 0, wxALL, 5 ); m_tuneSizer->Add( tuner );
tunerList.push_back( tuner ); tunerList.push_back( tuner );
//m_sidePanel->Layout(); m_sidePanel->Layout();
//m_sideSizer->Fit( m_sidePanel );
//m_splitterPlot->Layout();
Layout();
Layout();
Layout();
Layout();
Layout();
} }
catch( ... ) catch( ... )
{ {