summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-07-07 10:37:35 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-07-07 10:37:35 +0000
commitf3de63bb01c8446e64b65ba650a5ed3cac25f0b3 (patch)
treed5c805a9af3c8a1df034b70f01dc406bc17108b1 /src/gui
parent10cbd626ab5a9b32941e96f99b2909782864e25d (diff)
downloadfpGUI-f3de63bb01c8446e64b65ba650a5ed3cac25f0b3.tar.xz
* 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.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui_form.pas1
-rw-r--r--src/gui/gui_memo.pas2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui_form.pas b/src/gui/gui_form.pas
index 1ec52a88..27877bf9 100644
--- a/src/gui/gui_form.pas
+++ b/src/gui/gui_form.pas
@@ -310,6 +310,7 @@ end;
procedure TfpgBaseForm.HandleShow;
begin
inherited HandleShow;
+ HandleAlignments(0, 0);
if Assigned(FOnShow) then
FOnShow(self);
end;
diff --git a/src/gui/gui_memo.pas b/src/gui/gui_memo.pas
index 34e4cef9..58ea1120 100644
--- a/src/gui/gui_memo.pas
+++ b/src/gui/gui_memo.pas
@@ -286,6 +286,8 @@ begin
FBackgroundColor := clBoxColor;
FUseTabs := False;
FTabWidth := 4;
+ FMinWidth := 20;
+ FMinHeight := 30;
FLines := TfpgMemoStrings.Create(self);
FFirstLine := 0;