diff --git a/eeschema/dialogs/dialog_sim_command_base.cpp b/eeschema/dialogs/dialog_sim_command_base.cpp index 5c2b433397..1d017ba7e7 100644 --- a/eeschema/dialogs/dialog_sim_command_base.cpp +++ b/eeschema/dialogs/dialog_sim_command_base.cpp @@ -840,7 +840,7 @@ DIALOG_SIM_COMMAND_BASE::DIALOG_SIM_COMMAND_BASE( wxWindow* parent, wxWindowID i m_marginTopLabel->Wrap( -1 ); fgSizerTopBottom->Add( m_marginTopLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 15 ); - m_marginTop = new wxTextCtrl( m_panelPlotSetup, wxID_ANY, _("35"), wxDefaultPosition, wxDefaultSize, 0 ); + m_marginTop = new wxTextCtrl( m_panelPlotSetup, wxID_ANY, _("30"), wxDefaultPosition, wxDefaultSize, 0 ); m_marginTop->SetMinSize( wxSize( 60,-1 ) ); fgSizerTopBottom->Add( m_marginTop, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 ); @@ -849,7 +849,7 @@ DIALOG_SIM_COMMAND_BASE::DIALOG_SIM_COMMAND_BASE( wxWindow* parent, wxWindowID i m_marginBottomLabel->Wrap( -1 ); fgSizerTopBottom->Add( m_marginBottomLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 15 ); - m_marginBottom = new wxTextCtrl( m_panelPlotSetup, wxID_ANY, _("35"), wxDefaultPosition, wxDefaultSize, 0 ); + m_marginBottom = new wxTextCtrl( m_panelPlotSetup, wxID_ANY, _("45"), wxDefaultPosition, wxDefaultSize, 0 ); m_marginBottom->SetMinSize( wxSize( 60,-1 ) ); fgSizerTopBottom->Add( m_marginBottom, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT|wxEXPAND, 5 ); diff --git a/eeschema/dialogs/dialog_sim_command_base.fbp b/eeschema/dialogs/dialog_sim_command_base.fbp index 06de92648d..be77f011ad 100644 --- a/eeschema/dialogs/dialog_sim_command_base.fbp +++ b/eeschema/dialogs/dialog_sim_command_base.fbp @@ -9479,7 +9479,7 @@ wxFILTER_NONE wxDefaultValidator - 35 + 30 @@ -9604,7 +9604,7 @@ wxFILTER_NONE wxDefaultValidator - 35 + 45 diff --git a/eeschema/sim/sim_plot_tab.cpp b/eeschema/sim/sim_plot_tab.cpp index 6ddbb5f30d..e8a1e05402 100644 --- a/eeschema/sim/sim_plot_tab.cpp +++ b/eeschema/sim/sim_plot_tab.cpp @@ -431,7 +431,7 @@ SIM_PLOT_TAB::SIM_PLOT_TAB( const wxString& aSimCommand, wxWindow* parent ) : m_plotWin = new mpWindow( this, wxID_ANY ); m_plotWin->LimitView( true ); - m_plotWin->SetMargins( 35, 70, 35, 70 ); + m_plotWin->SetMargins( 30, 70, 45, 70 ); UpdatePlotColors(); @@ -643,7 +643,7 @@ void SIM_PLOT_TAB::updateAxes( int aNewTraceType ) if( ( aNewTraceType & SPT_POWER ) && !m_axis_y3 ) { - m_plotWin->SetMargins( 35, 140, 35, 70 ); + m_plotWin->SetMargins( 30, 140, 45, 70 ); m_axis_y3 = new LIN_SCALE( wxEmptyString, wxT( "W" ), mpALIGN_FAR_RIGHT ); m_axis_y3->SetNameAlign( mpALIGN_FAR_RIGHT ); @@ -763,7 +763,7 @@ void SIM_PLOT_TAB::prepareDCAxes( int aNewTraceType ) if( ( aNewTraceType & SPT_POWER ) && !m_axis_y3 ) { - m_plotWin->SetMargins( 35, 140, 35, 70 ); + m_plotWin->SetMargins( 30, 140, 45, 70 ); m_axis_y3 = new LIN_SCALE( wxEmptyString, wxT( "W" ), mpALIGN_FAR_RIGHT ); m_axis_y3->SetNameAlign( mpALIGN_FAR_RIGHT );