Remove close buttons from schematic AUI

Harmonizes with PCB editor

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17415
This commit is contained in:
Jon Evans 2024-03-12 19:51:27 -04:00
parent ece8521e68
commit b190f21b6c
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ const wxAuiPaneInfo& defaultNetNavigatorPaneInfo()
.Left().Layer( 3 ).Position( 0 )
.TopDockable( false )
.BottomDockable( false )
.CloseButton( true )
.CloseButton( false )
.MinSize( 120, 60 )
.BestSize( 200, 200 )
.FloatingSize( 200, 200 )
@ -95,7 +95,7 @@ const wxAuiPaneInfo& defaultPropertiesPaneInfo( wxWindow* aWindow )
.Left().Layer( 3 ).Position( 2 )
.TopDockable( false )
.BottomDockable( false )
.CloseButton( true )
.CloseButton( false )
.MinSize( aWindow->FromDIP( wxSize( 240, 60 ) ) )
.BestSize( aWindow->FromDIP( wxSize( 300, 200 ) ) )
.FloatingSize( aWindow->FromDIP( wxSize( 300, 400 ) ) )

View File

@ -209,7 +209,7 @@ SCH_EDIT_FRAME::SCH_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
.Left().Layer( 3 ).Position( 1 )
.TopDockable( false )
.BottomDockable( false )
.CloseButton( true )
.CloseButton( false )
.MinSize( FromDIP( wxSize( 120, 60 ) ) )
.BestSize( FromDIP( wxSize( 200, 200 ) ) )
.FloatingSize( FromDIP( wxSize( 200, 200 ) ) )
@ -239,7 +239,7 @@ SCH_EDIT_FRAME::SCH_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
.MinSize( FromDIP( wxSize( 180, 60 ) ) )
.BestSize( FromDIP( wxSize( 180, 100 ) ) )
.FloatingSize( FromDIP( wxSize( 480, 200 ) ) )
.CloseButton( true )
.CloseButton( false )
.DestroyOnClose( false )
.Show( m_show_search ) );