7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-07 18:35:32 +00:00

Set a min size on the layer pair grid or else it bugs out when the first entry is added

This commit is contained in:
Mark Roszko 2025-01-31 11:04:35 -05:00
parent e765ad0c2f
commit 29311393a5

View File

@ -215,7 +215,8 @@ DIALOG_COPPER_LAYER_PAIR_SELECTION_BASE::DIALOG_COPPER_LAYER_PAIR_SELECTION_BASE
m_presetsGrid->CreateGrid( 0, 4 );
m_presetsGrid->EnableEditing( true );
m_presetsGrid->EnableGridLines( true );
m_presetsGrid->EnableDragGridSize( false );
m_presetsGrid->EnableDragGridSize( false );
m_presetsGrid->SetMinSize( wxSize( -1, FromDIP( 100 ) ) );
m_presetsGrid->SetMargins( FromDIP( 5 ), FromDIP( 3 ) );
// Columns