Eeschema: fix default ERC dialog tab.
This commit is contained in:
parent
fd72c91acd
commit
1175d50486
|
@ -108,7 +108,7 @@ DIALOG_ERC_BASE::DIALOG_ERC_BASE( wxWindow* parent, wxWindowID id, const wxStrin
|
||||||
m_PanelERC->SetSizer( bercSizer );
|
m_PanelERC->SetSizer( bercSizer );
|
||||||
m_PanelERC->Layout();
|
m_PanelERC->Layout();
|
||||||
bercSizer->Fit( m_PanelERC );
|
bercSizer->Fit( m_PanelERC );
|
||||||
m_NoteBook->AddPage( m_PanelERC, _("ERC"), false );
|
m_NoteBook->AddPage( m_PanelERC, _("ERC"), true );
|
||||||
m_PanelERCOptions = new wxPanel( m_NoteBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
m_PanelERCOptions = new wxPanel( m_NoteBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
||||||
wxBoxSizer* m_panelMatrixSizer;
|
wxBoxSizer* m_panelMatrixSizer;
|
||||||
m_panelMatrixSizer = new wxBoxSizer( wxVERTICAL );
|
m_panelMatrixSizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
@ -144,7 +144,7 @@ DIALOG_ERC_BASE::DIALOG_ERC_BASE( wxWindow* parent, wxWindowID id, const wxStrin
|
||||||
m_PanelERCOptions->SetSizer( m_panelMatrixSizer );
|
m_PanelERCOptions->SetSizer( m_panelMatrixSizer );
|
||||||
m_PanelERCOptions->Layout();
|
m_PanelERCOptions->Layout();
|
||||||
m_panelMatrixSizer->Fit( m_PanelERCOptions );
|
m_panelMatrixSizer->Fit( m_PanelERCOptions );
|
||||||
m_NoteBook->AddPage( m_PanelERCOptions, _("Options"), true );
|
m_NoteBook->AddPage( m_PanelERCOptions, _("Options"), false );
|
||||||
|
|
||||||
bSizer1->Add( m_NoteBook, 1, wxEXPAND | wxALL, 5 );
|
bSizer1->Add( m_NoteBook, 1, wxEXPAND | wxALL, 5 );
|
||||||
|
|
||||||
|
|
|
@ -178,7 +178,7 @@
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">ERC</property>
|
<property name="label">ERC</property>
|
||||||
<property name="select">0</property>
|
<property name="select">1</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
@ -1622,7 +1622,7 @@
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">Options</property>
|
<property name="label">Options</property>
|
||||||
<property name="select">1</property>
|
<property name="select">0</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
|
|
Loading…
Reference in New Issue