From ba3ce9b56638fd9dee8640e43f68fab3a17dde58 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 11 Aug 2016 14:42:03 +0200 Subject: [PATCH] Fixed tuner autoplacement --- eeschema/sim/sim_plot_frame.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index b109c9e78c..3821ca989a 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -247,16 +247,9 @@ void SIM_PLOT_FRAME::AddTuner( SCH_COMPONENT* aComponent ) try { 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 ); - //m_sidePanel->Layout(); - //m_sideSizer->Fit( m_sidePanel ); - //m_splitterPlot->Layout(); - Layout(); - Layout(); - Layout(); - Layout(); - Layout(); + m_sidePanel->Layout(); } catch( ... ) {