14DIALOG_FOOTPRINT_ASSOCIATIONS_BASE::DIALOG_FOOTPRINT_ASSOCIATIONS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
16 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
18 wxBoxSizer* bMainBoxSizer;
19 bMainBoxSizer =
new wxBoxSizer( wxVERTICAL );
26 bMainBoxSizer->Add( 0, 5, 0, wxEXPAND, 5 );
44 m_gridLibrary->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
49 m_gridLibrary->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
54 m_gridLibrary->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
57 bMainBoxSizer->Add(
m_gridLibrary, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 10 );
60 bMainBoxSizer->Add( 0, 5, 1, wxEXPAND, 5 );
62 m_symbolAssociationLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Schematic Association"), wxDefaultPosition, wxDefaultSize, 0 );
67 bMainBoxSizer->Add( 0, 5, 0, wxEXPAND, 5 );
85 m_gridSymbol->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
90 m_gridSymbol->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
95 m_gridSymbol->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
96 bMainBoxSizer->Add(
m_gridSymbol, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
98 wxBoxSizer* bSizerBottom;
99 bSizerBottom =
new wxBoxSizer( wxHORIZONTAL );
109 bMainBoxSizer->Add( bSizerBottom, 0, wxEXPAND, 5 );
112 this->SetSizer( bMainBoxSizer );
114 bMainBoxSizer->Fit(
this );
116 this->Centre( wxBOTH );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
void SetColLabelSize(int aHeight)
Hide wxGrid's SetColLabelSize() method with one which makes sure the size is tall enough for the syst...