Remove close button from pcbnew search panel

For consistency with the other panels, removes the circular 'x' close
button from the search panel. Toggling visibility remains possible
through the View menu
This commit is contained in:
JamesJ 2024-02-29 22:13:05 +00:00 committed by Jon Evans
parent 0c8e08ed58
commit 66b378087a
1 changed files with 0 additions and 1 deletions

View File

@ -322,7 +322,6 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
.Caption( _( "Search" ) ).PaneBorder( false )
.MinSize( FromDIP( wxSize ( 180, 60 ) ) ).BestSize( FromDIP( wxSize ( 180, 100 ) ) )
.FloatingSize( FromDIP( wxSize( 480, 200 ) ) )
.CloseButton( true )
.DestroyOnClose( false ) );
m_auimgr.GetPane( "LayersManager" ).Show( m_show_layer_manager_tools );