Rearrange track width button to be more obvious
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8300
This commit is contained in:
parent
cbe8b1644a
commit
7afc3f7df9
|
@ -515,6 +515,14 @@ void PCB_EDIT_FRAME::ReCreateAuxiliaryToolbar()
|
||||||
UpdateTrackWidthSelectBox( m_SelTrackWidthBox );
|
UpdateTrackWidthSelectBox( m_SelTrackWidthBox );
|
||||||
m_auxiliaryToolBar->AddControl( m_SelTrackWidthBox );
|
m_auxiliaryToolBar->AddControl( m_SelTrackWidthBox );
|
||||||
|
|
||||||
|
m_auxiliaryToolBar->AddTool( ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH, wxEmptyString,
|
||||||
|
KiScaledBitmap( BITMAPS::auto_track_width, this ),
|
||||||
|
_( "When routing from an existing track use its width instead "
|
||||||
|
"of the current width setting" ),
|
||||||
|
wxITEM_CHECK );
|
||||||
|
|
||||||
|
m_auxiliaryToolBar->AddScaledSeparator( this );
|
||||||
|
|
||||||
// Creates box to display and choose vias diameters:
|
// Creates box to display and choose vias diameters:
|
||||||
|
|
||||||
if( m_SelViaSizeBox == nullptr )
|
if( m_SelViaSizeBox == nullptr )
|
||||||
|
@ -523,14 +531,6 @@ void PCB_EDIT_FRAME::ReCreateAuxiliaryToolbar()
|
||||||
|
|
||||||
UpdateViaSizeSelectBox( m_SelViaSizeBox );
|
UpdateViaSizeSelectBox( m_SelViaSizeBox );
|
||||||
m_auxiliaryToolBar->AddControl( m_SelViaSizeBox );
|
m_auxiliaryToolBar->AddControl( m_SelViaSizeBox );
|
||||||
m_auxiliaryToolBar->AddScaledSeparator( this );
|
|
||||||
|
|
||||||
// Creates box to display and choose strategy to handle tracks an vias sizes:
|
|
||||||
m_auxiliaryToolBar->AddTool( ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH, wxEmptyString,
|
|
||||||
KiScaledBitmap( BITMAPS::auto_track_width, this ),
|
|
||||||
_( "When routing from an existing track use its width instead "
|
|
||||||
"of the current width setting" ),
|
|
||||||
wxITEM_CHECK );
|
|
||||||
|
|
||||||
// Add the box to display and select the current grid size:
|
// Add the box to display and select the current grid size:
|
||||||
m_auxiliaryToolBar->AddScaledSeparator( this );
|
m_auxiliaryToolBar->AddScaledSeparator( this );
|
||||||
|
|
Loading…
Reference in New Issue