diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index e6b0d168bf..e1771ea06f 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -323,7 +323,7 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : m_auimgr.AddPane( m_appearancePanel, EDA_PANE().Name( wxS( "LayersManager" ) ) .Right().Layer( 4 ) .Caption( _( "Appearance" ) ).PaneBorder( false ) - .MinSize( m_appearancePanel->GetMinSize().x, -1 ) + .MinSize( m_appearancePanel->GetMinSize().x, FromDIP( 60 ) ) #ifdef __WXMAC__ // Best size for this pane is calculated larger than necessary on wxMac .BestSize( m_appearancePanel->GetMinSize().x, -1 ) @@ -336,7 +336,7 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : m_auimgr.AddPane( m_selectionFilterPanel, EDA_PANE().Name( wxS( "SelectionFilter" ) ) .Right().Layer( 4 ).Position( 2 ) .Caption( _( "Selection Filter" ) ).PaneBorder( false ) - .MinSize( m_selectionFilterPanel->GetMinSize().x, -1 ) + .MinSize( m_selectionFilterPanel->GetMinSize().x, FromDIP( 60 ) ) .BestSize( m_selectionFilterPanel->GetBestSize().x, -1 ) .FloatingSize( m_selectionFilterPanel->GetBestSize() ) .CloseButton( false ) );