Fix Pl_Editor scrollbars incorrect position.

This commit is contained in:
jean-pierre charras 2014-06-29 11:24:42 +02:00
parent d4a7685761
commit 33776f2868
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ PL_EDITOR_SCREEN::PL_EDITOR_SCREEN( const wxSize& aPageSizeIU ) :
for( unsigned i = 0; i < DIM( pl_editorGridList ); ++i )
AddGrid( pl_editorGridList[i] );
// pl_editor uses the same frame position as schematic and board editors
m_Center = false;
// Set the working grid size to a reasonable value
SetGrid( MM_GRID( 1.0 ) );