Remove close buttons from schematic AUI
Harmonizes with PCB editor Fixes https://gitlab.com/kicad/code/kicad/-/issues/17415
This commit is contained in:
parent
ece8521e68
commit
b190f21b6c
|
@ -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 ) ) )
|
||||
|
|
|
@ -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 ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue