summaryrefslogtreecommitdiff
path: root/examples/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2013-02-28 21:48:23 +0000
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2013-02-28 21:48:23 +0000
commit217cf31ae11a6caaea268e3c2104603dbb4e7217 (patch)
treeb29e5b1fb41cc8ad4f4c16c57ee54312f389d59e /examples/gui
parentfdefe244b4e8a6a1f109ec601ee65602a8b88312 (diff)
downloadfpGUI-217cf31ae11a6caaea268e3c2104603dbb4e7217.tar.xz
fontselect demo: improve initial window position.
Diffstat (limited to 'examples/gui')
-rw-r--r--examples/gui/fontselect/fontselect.lpr1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gui/fontselect/fontselect.lpr b/examples/gui/fontselect/fontselect.lpr
index 06b3486b..985027c0 100644
--- a/examples/gui/fontselect/fontselect.lpr
+++ b/examples/gui/fontselect/fontselect.lpr
@@ -71,6 +71,7 @@ begin
inherited Create(AOwner);
WindowTitle := rsMyTitle;
SetPosition(100, 100, 500, 400);
+ WindowPosition:= wpOneThirdDown;
btnSelectFont := CreateButton(self, 10, 10, 110, rsSelectAFont, @btnSelectFontClick);