diff --git a/eeschema/libeditframe.cpp b/eeschema/libeditframe.cpp index de1c3e8243..b5628f1e2a 100644 --- a/eeschema/libeditframe.cpp +++ b/eeschema/libeditframe.cpp @@ -305,8 +305,8 @@ LIB_EDIT_FRAME::LIB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : m_auimgr.AddPane( m_messagePanel, wxAuiPaneInfo( mesg ).Name( "MsgPanel" ).Bottom().Layer( 10 ) ); - m_auimgr.AddPane( m_treePane, - wxAuiPaneInfo( vert ).Name( "ComponentTree" ).Left().Row( 1 ).Resizable().MinSize( 300, 400 ) ); + m_auimgr.AddPane( m_treePane, wxAuiPaneInfo().Name( "ComponentTree" ).Left().Row( 1 ) + .Resizable().MinSize( 250, 400 ).Dock().CloseButton( false ) ); m_auimgr.Update();