mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 15:23:44 +00:00
multichannel: fix dialog sizing
This commit is contained in:
parent
72912f1013
commit
37399fba42
@ -38,7 +38,6 @@ DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS
|
||||
|
||||
RULE_AREAS_DATA* raData = m_parentTool->GetData();
|
||||
|
||||
m_sheetsGrid->AppendCols( 3 );
|
||||
m_sheetsGrid->EnableEditing( true );
|
||||
m_sheetsGrid->HideRowLabels();
|
||||
m_sheetsGrid->SetColLabelValue( 0, wxT("Generate") );
|
||||
@ -58,7 +57,6 @@ DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS
|
||||
|
||||
m_sheetsGrid->SetMaxSize( wxSize( -1, 800 ) );
|
||||
m_sheetsGrid->Fit();
|
||||
|
||||
m_cbGroupItems->SetValue( raData->m_groupItems );
|
||||
m_cbReplaceExisting->SetValue( raData->m_replaceExisting );
|
||||
|
||||
@ -90,4 +88,4 @@ bool DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS::TransferDataToWindow()
|
||||
// fixme: no idea how to make the wxGrid autoresize to the actual window width when setting
|
||||
// grid cells from within this method.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -64,7 +64,6 @@ DIALOG_MULTICHANNEL_REPEAT_LAYOUT::DIALOG_MULTICHANNEL_REPEAT_LAYOUT (
|
||||
int i = 0;
|
||||
|
||||
m_raGrid->ClearGrid();
|
||||
m_raGrid->AppendCols( 3 );
|
||||
m_raGrid->EnableEditing( true );
|
||||
m_raGrid->HideRowLabels();
|
||||
m_raGrid->SetColLabelValue( 0, wxT("Copy") );
|
||||
|
Loading…
Reference in New Issue
Block a user