From f3de63bb01c8446e64b65ba650a5ed3cac25f0b3 Mon Sep 17 00:00:00 2001 From: graemeg Date: Mon, 7 Jul 2008 10:37:35 +0000 Subject: * Fixed svn properties on some files. * Implemented MaxWidth and MaxHeight properties. * Implemented contraint checks on window/widget sizes. * Fixed the bug with anchor issues inside container widgets. * Fixed the initial state of PrevWidth/Height/Top/Left and Dirty state. --- examples/gui/alignment_resize/alignment_resize.lpr | 3 +- examples/gui/splitter/splitter_test.lpi | 132 ++++++++++----------- examples/gui/splitter/splitter_test.lpr | 4 +- 3 files changed, 70 insertions(+), 69 deletions(-) (limited to 'examples/gui') diff --git a/examples/gui/alignment_resize/alignment_resize.lpr b/examples/gui/alignment_resize/alignment_resize.lpr index 8c6b2b03..b78745f4 100644 --- a/examples/gui/alignment_resize/alignment_resize.lpr +++ b/examples/gui/alignment_resize/alignment_resize.lpr @@ -76,7 +76,7 @@ begin SetPosition(316, 186, 467, 284); WindowTitle := 'Runtime resize/alignment test'; WindowPosition := wpScreenCenter; - Sizeable := False; +// Sizeable := False; btnName1 := TfpgButton.Create(self); with btnName1 do @@ -213,6 +213,7 @@ begin SetPosition(272, 104, 184, 164); FontDesc := '#Edit1'; TabOrder := 8; + Anchors := AllAnchors; end; {@VFD_BODY_END: MainForm} diff --git a/examples/gui/splitter/splitter_test.lpi b/examples/gui/splitter/splitter_test.lpi index 48d5b09b..b01ce023 100644 --- a/examples/gui/splitter/splitter_test.lpi +++ b/examples/gui/splitter/splitter_test.lpi @@ -1,66 +1,66 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/gui/splitter/splitter_test.lpr b/examples/gui/splitter/splitter_test.lpr index 9f8d3313..82374f7a 100644 --- a/examples/gui/splitter/splitter_test.lpr +++ b/examples/gui/splitter/splitter_test.lpr @@ -73,8 +73,8 @@ begin begin Name := 'mmSource'; SetPosition(164, 0, 257, 90); - Lines.Add('Memo1 Line #1'); - Lines.Add('Memo1 Line #2'); + Lines.Add('Memo has a MinHeight=30 so the splitter'); + Lines.Add('snap effect will not take affect - as expected.'); FontDesc := '#Edit1'; TabOrder := 2; Align := alTop; -- cgit v1.2.3-70-g09d2