From 7d84d323a61caa14afc27869db358591a9fbaabc Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 4 Jan 2023 00:12:16 +0000 Subject: [PATCH] Pin conflicts map adjustments for MSW. --- eeschema/dialogs/panel_setup_pinmap.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eeschema/dialogs/panel_setup_pinmap.cpp b/eeschema/dialogs/panel_setup_pinmap.cpp index 193e1cf91c..7a7a30e6d8 100644 --- a/eeschema/dialogs/panel_setup_pinmap.cpp +++ b/eeschema/dialogs/panel_setup_pinmap.cpp @@ -82,6 +82,8 @@ void PANEL_SETUP_PINMAP::reBuildMatrixPanel() #ifdef __WXMAC__ bitmapSize += { 4, 2 }; +#else + bitmapSize += { 2, 1 }; #endif if( !m_initialized ) @@ -151,7 +153,7 @@ void PANEL_SETUP_PINMAP::reBuildMatrixPanel() #ifdef __WXMAC__ btn->SetSize( btn->GetSize().x - 1, btn->GetSize().y ); #else - btn->SetSize( btn->GetSize().x + 4, btn->GetSize().y ); + btn->SetSize( btn->GetSize().x + 1, btn->GetSize().y ); #endif m_buttonList[ii][jj] = btn; setDRCMatrixButtonState( m_buttonList[ii][jj], diag );