DIALOG_CREATE_ARRAY_BASE: fix better size of dlg in fp editor.

A panel was set as stretchable (which was not useful) thus creating
a very large dialog in FP editor.
This commit is contained in:
jean-pierre charras
2025-04-21 15:45:39 +02:00
parent 5a3b2cc8fd
commit 7c56b04436
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -484,7 +484,7 @@ DIALOG_CREATE_ARRAY_BASE::DIALOG_CREATE_ARRAY_BASE( wxWindow* parent, wxWindowID
m_itemSourcePanel->SetSizer( sbSizerDuplicateOrArrange );
m_itemSourcePanel->Layout();
sbSizerDuplicateOrArrange->Fit( m_itemSourcePanel );
bSizer8->Add( m_itemSourcePanel, 0, wxEXPAND | wxALL, 5 );
bSizer8->Add( m_itemSourcePanel, 0, wxALL|wxEXPAND, 5 );
m_footprintReannotatePanel = new wxPanel( m_optionsPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxStaticBoxSizer* sbSizerFootprintAnnotation;
@@ -509,7 +509,7 @@ DIALOG_CREATE_ARRAY_BASE::DIALOG_CREATE_ARRAY_BASE( wxWindow* parent, wxWindowID
m_optionsPanel->SetSizer( bSizer8 );
m_optionsPanel->Layout();
bSizer8->Fit( m_optionsPanel );
bSizer7->Add( m_optionsPanel, 1, wxEXPAND | wxALL, 5 );
bSizer7->Add( m_optionsPanel, 0, wxEXPAND | wxALL, 5 );
bMainSizer->Add( bSizer7, 1, wxEXPAND, 5 );