FIELDS_GRID_TABLE and TEXT_MOD_GRID_TABLE: fix incorrect position of checkboxes
This is an issue specific to wxWidgets 3.1.4
This commit is contained in:
parent
a728abe63c
commit
0bd6e5d96e
|
@ -142,7 +142,7 @@ void FIELDS_GRID_TABLE<T>::initGrid( DIALOG_SHIM* aDialog )
|
|||
m_boolAttr = new wxGridCellAttr;
|
||||
m_boolAttr->SetRenderer( new wxGridCellBoolRenderer() );
|
||||
m_boolAttr->SetEditor( new wxGridCellBoolEditor() );
|
||||
m_boolAttr->SetAlignment( wxALIGN_CENTER, wxALIGN_BOTTOM );
|
||||
m_boolAttr->SetAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
||||
|
||||
wxArrayString vAlignNames;
|
||||
vAlignNames.Add( _( "Top" ) );
|
||||
|
|
|
@ -49,7 +49,7 @@ TEXT_MOD_GRID_TABLE::TEXT_MOD_GRID_TABLE( EDA_UNITS aUserUnits, PCB_BASE_FRAME*
|
|||
m_boolColAttr = new wxGridCellAttr;
|
||||
m_boolColAttr->SetRenderer( new wxGridCellBoolRenderer() );
|
||||
m_boolColAttr->SetEditor( new wxGridCellBoolEditor() );
|
||||
m_boolColAttr->SetAlignment( wxALIGN_CENTER, wxALIGN_BOTTOM );
|
||||
m_boolColAttr->SetAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
||||
|
||||
if( g_menuOrientations.IsEmpty() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue