From 13b4c46063ec399e9e714a77a9115c1c3da0f470 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 25 Oct 2020 12:01:26 +0000 Subject: [PATCH] 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.) --- common/widgets/paged_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/widgets/paged_dialog.cpp b/common/widgets/paged_dialog.cpp index 9f2f75fc41..99e9855df7 100644 --- a/common/widgets/paged_dialog.cpp +++ b/common/widgets/paged_dialog.cpp @@ -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 );