Commit 585655e2 authored by jean-pierre charras's avatar jean-pierre charras

Gerbview: export to pcbnew enhancements and fixes.

parent cfb354cb
...@@ -45,6 +45,7 @@ LAYERS_MAP_DIALOG::LAYERS_MAP_DIALOG( GERBVIEW_FRAME* parent ) : ...@@ -45,6 +45,7 @@ LAYERS_MAP_DIALOG::LAYERS_MAP_DIALOG( GERBVIEW_FRAME* parent ) :
initDialog(); initDialog();
// Resize the dialog // Resize the dialog
Layout();
GetSizer()->SetSizeHints( this ); GetSizer()->SetSizeHints( this );
Centre(); Centre();
} }
...@@ -128,6 +129,7 @@ void LAYERS_MAP_DIALOG::initDialog() ...@@ -128,6 +129,7 @@ void LAYERS_MAP_DIALOG::initDialog()
m_flexRightColumnBoxSizer->AddGrowableCol( ii ); m_flexRightColumnBoxSizer->AddGrowableCol( ii );
m_flexRightColumnBoxSizer->SetFlexibleDirection( wxBOTH ); m_flexRightColumnBoxSizer->SetFlexibleDirection( wxBOTH );
m_flexRightColumnBoxSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); m_flexRightColumnBoxSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
sbSizerLayersTable->Add( m_flexRightColumnBoxSizer, 1, wxEXPAND, 5 );
} }
wxFlexGridSizer* flexColumnBoxSizer = m_flexLeftColumnBoxSizer; wxFlexGridSizer* flexColumnBoxSizer = m_flexLeftColumnBoxSizer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment