diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2013-02-28 21:48:23 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2013-02-28 21:48:23 +0000 |
commit | 217cf31ae11a6caaea268e3c2104603dbb4e7217 (patch) | |
tree | b29e5b1fb41cc8ad4f4c16c57ee54312f389d59e /examples/gui | |
parent | fdefe244b4e8a6a1f109ec601ee65602a8b88312 (diff) | |
download | fpGUI-217cf31ae11a6caaea268e3c2104603dbb4e7217.tar.xz |
fontselect demo: improve initial window position.
Diffstat (limited to 'examples/gui')
-rw-r--r-- | examples/gui/fontselect/fontselect.lpr | 1 |
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); |