Use a bigger hammer with wxWidgets.

As if the original hack wasn't embarassing enough, the only change
here is to make the number bigger.

WICKED HILLARY wanted to use wxBoxSizers that are FAR TOO SMALL.
So sad.
But we're going to look at that.  I think we're going to have
BIG wxBoxSizers.  Probably the BIGGEST wxBoxSizers of anyone.

(The bug is that the Sheet Border swatch in PANEL_EESCHEMA_SETTINGS
doesn't otherwise get drawn unless that panel is the one showing
when preferences is opened.)
This commit is contained in:
Jeff Young 2020-10-25 12:01:26 +00:00
parent b2ad9b5b83
commit 13b4c46063
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ void PAGED_DIALOG::OnPageChange( wxBookCtrlEvent& event )
if( page + 1 <= m_macHack.size() && m_macHack[ page ] )
{
wxSize pageSize = m_treebook->GetPage( page )->GetSize();
pageSize.x -= 3;
pageSize.x -= 5;
pageSize.y += 2;
m_treebook->GetPage( page )->SetSize( pageSize );