From f27fb5c8747cbbf6f9d191cc379ffe30362c2f10 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 29 Jun 2014 11:24:42 +0200 Subject: [PATCH] Fix Pl_Editor scrollbars incorrect position. --- pagelayout_editor/class_pl_editor_screen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pagelayout_editor/class_pl_editor_screen.cpp b/pagelayout_editor/class_pl_editor_screen.cpp index 711bac3d7c..be5056fe54 100644 --- a/pagelayout_editor/class_pl_editor_screen.cpp +++ b/pagelayout_editor/class_pl_editor_screen.cpp @@ -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 ) );