More uniform spacing on scaling section of Preferences.

This commit is contained in:
Jeff Young
2026-02-01 20:55:36 +00:00
parent 56e933a68e
commit 4b9ff92391
4 changed files with 35 additions and 28 deletions
+15 -16
View File
@@ -83,21 +83,19 @@ PANEL_COMMON_SETTINGS::PANEL_COMMON_SETTINGS( wxWindow* aParent ) :
m_canvasScaleCtrl->SetIncrement( dpi_scaling_increment );
m_canvasScaleCtrl->SetValue( DPI_SCALING::GetDefaultScaleFactor() );
m_canvasScaleCtrl->SetToolTip(
_( "Set the scale for the canvas."
"\n\n"
"On high-DPI displays on some platforms, KiCad cannot determine the "
"scaling factor. In this case you may need to set this to a value to "
"match your system's DPI scaling. 2.0 is a common value. "
"\n\n"
"If this does not match the system DPI scaling, the canvas will "
"not match the window size and cursor position." ) );
m_canvasScaleCtrl->SetToolTip( _( "Set the scale for the canvas."
"\n\n"
"On high-DPI displays on some platforms, KiCad cannot determine the "
"scaling factor. In this case you may need to set this to a value to "
"match your system's DPI scaling. 2.0 is a common value. "
"\n\n"
"If this does not match the system DPI scaling, the canvas will "
"not match the window size and cursor position." ) );
m_canvasScaleAuto->SetToolTip(
_( "Use an automatic value for the canvas scale."
"\n\n"
"On some platforms, the automatic value is incorrect and should be "
"set manually." ) );
m_canvasScaleAuto->SetToolTip( _( "Use an automatic value for the canvas scale."
"\n\n"
"On some platforms, the automatic value is incorrect and should be "
"set manually." ) );
}
else
{
@@ -107,8 +105,9 @@ PANEL_COMMON_SETTINGS::PANEL_COMMON_SETTINGS( wxWindow* aParent ) :
m_canvasScaleAuto->Show( false );
}
m_zoomCorrectionCtrl = new ZOOM_CORRECTION_CTRL(
this, Pgm().GetCommonSettings()->m_Appearance.zoom_correction_factor, ADVANCED_CFG::GetCfg().m_ScreenDPI );
m_zoomCorrectionCtrl = new ZOOM_CORRECTION_CTRL( this,
Pgm().GetCommonSettings()->m_Appearance.zoom_correction_factor,
ADVANCED_CFG::GetCfg().m_ScreenDPI );
m_scalingSizer->Add( m_zoomCorrectionCtrl, 1, wxEXPAND );