|
|
@ -132,11 +132,9 @@ CVPCB_MAINFRAME::CVPCB_MAINFRAME( KIWAY* aKiway, wxWindow* aParent ) : |
|
|
|
wxStaticLine* staticline1 = new wxStaticLine( bottomPanel ); |
|
|
|
panelSizer->Add( staticline1, 0, wxEXPAND, 5 ); |
|
|
|
|
|
|
|
wxFont statusFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT ); |
|
|
|
statusFont.SetSymbolicSize( wxFONTSIZE_SMALL ); |
|
|
|
m_statusLine1->SetFont( statusFont ); |
|
|
|
m_statusLine2->SetFont( statusFont ); |
|
|
|
m_statusLine3->SetFont( statusFont ); |
|
|
|
m_statusLine1->SetFont( KIUI::GetInfoFont() ); |
|
|
|
m_statusLine2->SetFont( KIUI::GetInfoFont() ); |
|
|
|
m_statusLine3->SetFont( KIUI::GetInfoFont() ); |
|
|
|
|
|
|
|
// Add buttons:
|
|
|
|
auto buttonsSizer = new wxBoxSizer( wxHORIZONTAL ); |
|
|
@ -883,8 +881,7 @@ void CVPCB_MAINFRAME::BuildFootprintsListBox() |
|
|
|
if( m_footprintListBox == NULL ) |
|
|
|
{ |
|
|
|
m_footprintListBox = new FOOTPRINTS_LISTBOX( this, ID_CVPCB_FOOTPRINT_LIST ); |
|
|
|
m_footprintListBox->SetFont( wxFont( guiFont.GetPointSize(), wxFONTFAMILY_MODERN, |
|
|
|
wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL ) ); |
|
|
|
m_footprintListBox->SetFont( KIUI::GetMonospacedUIFont() ); |
|
|
|
} |
|
|
|
|
|
|
|
m_footprintListBox->SetFootprints( *m_FootprintsList, wxEmptyString, NULL, wxEmptyString, |
|
|
@ -902,8 +899,7 @@ void CVPCB_MAINFRAME::BuildSymbolsListBox() |
|
|
|
if( m_symbolsListBox == NULL ) |
|
|
|
{ |
|
|
|
m_symbolsListBox = new COMPONENTS_LISTBOX( this, ID_CVPCB_COMPONENT_LIST ); |
|
|
|
m_symbolsListBox->SetFont( wxFont( guiFont.GetPointSize(), wxFONTFAMILY_MODERN, |
|
|
|
wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL ) ); |
|
|
|
m_symbolsListBox->SetFont( KIUI::GetMonospacedUIFont() ); |
|
|
|
} |
|
|
|
|
|
|
|
m_symbolsListBox->m_ComponentList.Clear(); |
|
|
@ -937,8 +933,7 @@ void CVPCB_MAINFRAME::BuildLibrariesListBox() |
|
|
|
if( m_librariesListBox == NULL ) |
|
|
|
{ |
|
|
|
m_librariesListBox = new LIBRARY_LISTBOX( this, ID_CVPCB_LIBRARY_LIST ); |
|
|
|
m_librariesListBox->SetFont( wxFont( guiFont.GetPointSize(), wxFONTFAMILY_MODERN, |
|
|
|
wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL ) ); |
|
|
|
m_librariesListBox->SetFont( KIUI::GetMonospacedUIFont() ); |
|
|
|
} |
|
|
|
|
|
|
|
FP_LIB_TABLE* tbl = Prj().PcbFootprintLibs(); |
|
|
|