diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-12-30 15:45:14 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-12-30 15:45:14 +0200 |
commit | e37fc9a4821500a87be0342e01714b048501f39f (patch) | |
tree | e65bd090f0251fcec784681e5ec0dc106a9d5173 /docview | |
parent | e469248040b48ecf646e9c064fec6b4890a81420 (diff) | |
download | fpGUI-e37fc9a4821500a87be0342e01714b048501f39f.tar.xz |
Docview: Fixed anchors for OK and Save buttons in Config dialog.
Also set min width/height constraints for the dialog.
Diffstat (limited to 'docview')
-rw-r--r-- | docview/src/frm_configuration.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docview/src/frm_configuration.pas b/docview/src/frm_configuration.pas index 348f445d..b3bb37f9 100644 --- a/docview/src/frm_configuration.pas +++ b/docview/src/frm_configuration.pas @@ -220,6 +220,8 @@ begin Hint := ''; ShowHint := True; WindowPosition := wpOneThirdDown; + MinWidth := 513; + MinHeight := 398; pcSettings := TfpgPageControl.Create(self); with pcSettings do @@ -238,6 +240,7 @@ begin begin Name := 'btnSave'; SetPosition(344, 408, 80, 24); + Anchors := [anRight, anBottom]; Text := 'Save'; Down := False; FontDesc := '#Label1'; @@ -252,6 +255,7 @@ begin begin Name := 'btnCancel'; SetPosition(428, 408, 80, 24); + Anchors := [anRight, anBottom]; Text := 'Cancel'; Down := False; FontDesc := '#Label1'; |