Round 2 for GTK.
This commit is contained in:
parent
ccd561267b
commit
a8d2f7f71d
|
@ -85,7 +85,7 @@ void PANEL_SETUP_PINMAP::reBuildMatrixPanel()
|
||||||
#elifdef __WXMSW__
|
#elifdef __WXMSW__
|
||||||
bitmapSize += { 3, 2 };
|
bitmapSize += { 3, 2 };
|
||||||
#else
|
#else
|
||||||
bitmapSize += { 0, 1 };
|
bitmapSize += { -3, 1 };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if( !m_initialized )
|
if( !m_initialized )
|
||||||
|
@ -122,7 +122,7 @@ void PANEL_SETUP_PINMAP::reBuildMatrixPanel()
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
charSize += { 0, 2 };
|
charSize += { 0, 2 };
|
||||||
#elifdef __WXGTK__
|
#elifdef __WXGTK__
|
||||||
offset += { -3, -1 };
|
offset += { -6, -3 };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for( int ii = 0; ii < ELECTRICAL_PINTYPES_TOTAL; ii++ )
|
for( int ii = 0; ii < ELECTRICAL_PINTYPES_TOTAL; ii++ )
|
||||||
|
@ -159,7 +159,7 @@ void PANEL_SETUP_PINMAP::reBuildMatrixPanel()
|
||||||
#elifdef __WXMSW__
|
#elifdef __WXMSW__
|
||||||
btn->SetSize( btn->GetSize().x + 1, btn->GetSize().y );
|
btn->SetSize( btn->GetSize().x + 1, btn->GetSize().y );
|
||||||
#else
|
#else
|
||||||
btn->SetSize( btn->GetSize().x - 4, btn->GetSize().y );
|
btn->SetSize( btn->GetSize().x - 6, btn->GetSize().y );
|
||||||
#endif
|
#endif
|
||||||
m_buttonList[ii][jj] = btn;
|
m_buttonList[ii][jj] = btn;
|
||||||
setDRCMatrixButtonState( m_buttonList[ii][jj], diag );
|
setDRCMatrixButtonState( m_buttonList[ii][jj], diag );
|
||||||
|
|
Loading…
Reference in New Issue