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:
parent
b2ad9b5b83
commit
13b4c46063
|
@ -352,7 +352,7 @@ void PAGED_DIALOG::OnPageChange( wxBookCtrlEvent& event )
|
||||||
if( page + 1 <= m_macHack.size() && m_macHack[ page ] )
|
if( page + 1 <= m_macHack.size() && m_macHack[ page ] )
|
||||||
{
|
{
|
||||||
wxSize pageSize = m_treebook->GetPage( page )->GetSize();
|
wxSize pageSize = m_treebook->GetPage( page )->GetSize();
|
||||||
pageSize.x -= 3;
|
pageSize.x -= 5;
|
||||||
pageSize.y += 2;
|
pageSize.y += 2;
|
||||||
|
|
||||||
m_treebook->GetPage( page )->SetSize( pageSize );
|
m_treebook->GetPage( page )->SetSize( pageSize );
|
||||||
|
|
Loading…
Reference in New Issue