From e37fc9a4821500a87be0342e01714b048501f39f Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 30 Dec 2010 15:45:14 +0200 Subject: Docview: Fixed anchors for OK and Save buttons in Config dialog. Also set min width/height constraints for the dialog. --- docview/src/frm_configuration.pas | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docview') 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'; -- cgit v1.2.3-70-g09d2