Attempt #1 to fix layout issue on GTK (and perhaps MSW).

This commit is contained in:
Jeff Young 2020-06-03 16:27:24 +01:00
parent a843c74529
commit b8e4f4bfc4
1 changed files with 2 additions and 1 deletions

View File

@ -945,7 +945,8 @@ void DIALOG_PAD_PROPERTIES::OnUpdateUI( wxUpdateUIEvent& event )
m_rbCopperLayersSel->Enable( ii != 4 );
// Adjust for any shown/hidden elements
Layout();
for( int i = 0; i < m_notebook->GetPageCount(); ++i )
m_notebook->GetPage( i )->Layout();
}