summaryrefslogtreecommitdiff
path: root/docview/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-08-26 12:28:19 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-08-26 12:28:19 +0200
commit96803f0f05413ce642aecdd1fa016a12ecb92ff0 (patch)
tree66613c8f51e0212c358f30e3f238dac3254bd830 /docview/src
parent59b9bc045dedf03bc5a6d14005dabc097ab95e60 (diff)
downloadfpGUI-96803f0f05413ce642aecdd1fa016a12ecb92ff0.tar.xz
docview: correctly centre the ShowText form.
Diffstat (limited to 'docview/src')
-rw-r--r--docview/src/frm_text.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/docview/src/frm_text.pas b/docview/src/frm_text.pas
index 1501bd6b..1f2c3857 100644
--- a/docview/src/frm_text.pas
+++ b/docview/src/frm_text.pas
@@ -64,6 +64,7 @@ begin
SetPosition(405, 197, 496, 297);
WindowTitle := 'Text Form';
Hint := '';
+ WindowPosition := wpScreenCenter;
btnClose := TfpgButton.Create(self);
with btnClose do