diff options
-rw-r--r-- | starmath/source/edit.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index 9b4cd02fb876..e49945acb840 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -293,6 +293,10 @@ void SmEditWindow::Resize() if (pEditView) { + // Resizes the edit engine to adjust to the size of the output area + const Size aSize( pEditView->GetOutputArea().GetSize() ); + pEditView->GetEditEngine()->SetPaperSize(aSize); + pEditView->SetOutputArea(AdjustScrollBars()); pEditView->ShowCursor(); |