Tweaks in eeschema for hidpi
This commit is contained in:
parent
002fb80c2a
commit
c39e7b2225
|
@ -50,6 +50,7 @@ PANEL_TEXT_VARIABLES::PANEL_TEXT_VARIABLES( wxWindow* aParent, PROJECT* aProject
|
|||
m_btnDeleteTextVar->SetBitmap( KiBitmapBundle( BITMAPS::small_trash ) );
|
||||
|
||||
m_TextVars->ClearRows();
|
||||
m_TextVars->SetUseNativeColLabels();
|
||||
|
||||
// prohibit these characters in the alias names: []{}()%~<>"='`;:.,&?/\|$
|
||||
m_nameValidator.SetStyle( wxFILTER_EXCLUDE_CHAR_LIST );
|
||||
|
|
|
@ -35,6 +35,9 @@ PANEL_BOM_PRESETS::PANEL_BOM_PRESETS( wxWindow* aWindow, SCHEMATIC_SETTINGS& aSe
|
|||
{
|
||||
m_btnDeleteBomPreset->SetBitmap( KiBitmapBundle( BITMAPS::small_trash ) );
|
||||
m_btnDeleteBomFmtPreset->SetBitmap( KiBitmapBundle( BITMAPS::small_trash ) );
|
||||
|
||||
m_bomPresetsGrid->SetUseNativeColLabels();
|
||||
m_bomFmtPresetsGrid->SetUseNativeColLabels();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -59,6 +59,9 @@ PANEL_SETUP_BUSES::PANEL_SETUP_BUSES( wxWindow* aWindow, SCH_EDIT_FRAME* aFrame
|
|||
OnAddMember( aEvent );
|
||||
} ) );
|
||||
|
||||
m_aliasesGrid->SetUseNativeColLabels();
|
||||
m_membersGrid->SetUseNativeColLabels();
|
||||
|
||||
// wxFormBuilder doesn't include this event...
|
||||
m_aliasesGrid->Connect( wxEVT_GRID_CELL_CHANGING,
|
||||
wxGridEventHandler( PANEL_SETUP_BUSES::OnAliasesGridCellChanging ),
|
||||
|
|
|
@ -59,6 +59,8 @@ PANEL_TEMPLATE_FIELDNAMES::PANEL_TEMPLATE_FIELDNAMES( wxWindow* aWindow,
|
|||
|
||||
m_checkboxColWidth = m_grid->GetColSize( 1 );
|
||||
|
||||
m_grid->SetUseNativeColLabels();
|
||||
|
||||
m_grid->PushEventHandler( new GRID_TRICKS( m_grid, [this]( wxCommandEvent& aEvent )
|
||||
{
|
||||
OnAddButtonClick( aEvent );
|
||||
|
|
Loading…
Reference in New Issue