From 3a8cde07a62cda5c37566375c063db25b1d5a5ef Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 20 Dec 2012 12:09:00 +0000 Subject: Minor tweaks to demo: fixes alignment and size constraints --- examples/gui/gridtest/gridtest.lpr | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/gui') diff --git a/examples/gui/gridtest/gridtest.lpr b/examples/gui/gridtest/gridtest.lpr index b12811bf..465281b2 100644 --- a/examples/gui/gridtest/gridtest.lpr +++ b/examples/gui/gridtest/gridtest.lpr @@ -193,6 +193,8 @@ begin WindowTitle := 'Grid control test'; Hint := ''; WindowPosition := wpScreenCenter; + MinWidth := 200; + MinHeight := 200; btnQuit := TfpgButton.Create(self); with btnQuit do @@ -317,9 +319,9 @@ begin Name := 'edtTopRow'; SetPosition(12, 280, 56, 24); Anchors := [anLeft,anBottom]; + FontDesc := '#Edit1'; Hint := ''; TabOrder := 8; - FontDesc := '#Edit1'; Value := 0; end; @@ -411,6 +413,7 @@ begin begin Name := 'chkAlterColor'; SetPosition(394, 156, 120, 24); + Anchors := [anRight,anTop]; FontDesc := '#Label1'; Hint := ''; TabOrder := 15; -- cgit v1.2.3-70-g09d2