summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-12-20 12:09:00 +0000
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-12-20 12:09:00 +0000
commit3a8cde07a62cda5c37566375c063db25b1d5a5ef (patch)
treefa78918146ac75a23821094fb012fe7492f92535
parentbaf40c5fa3f35edaa8162d6ac014daa411952ac8 (diff)
downloadfpGUI-3a8cde07a62cda5c37566375c063db25b1d5a5ef.tar.xz
Minor tweaks to demo: fixes alignment and size constraints
-rw-r--r--examples/gui/gridtest/gridtest.lpr5
1 files changed, 4 insertions, 1 deletions
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;