Enlarged TCalendarDialogForm, so that it is large enough to contain the win32 calendar.

git-svn-id: trunk@6259 -
This commit is contained in:
vincents 2004-11-17 12:22:38 +00:00
parent fec5cb234b
commit d864b6e663

View File

@ -1213,7 +1213,9 @@ end;
procedure TCalendarDialogForm.InitForm;
begin
Height:=150;
// TODO: let the size of this dialog dependent on the prefered size of
// the calendar, because the gtk calendar is smaller than the win32 calendar.
Height:=170;
Width:=200;
Position:=poScreenCenter;
BorderStyle:=bsDialog;
@ -1221,7 +1223,7 @@ begin
With FCalendar do
begin
Parent:=Self;
SetBounds(0,0,Self.Width,98);
SetBounds(0,0,Self.Width,118);
Align:=alClient;
//Anchors:=[akLeft,akRight,akTop,akBottom];
end;
@ -1229,7 +1231,7 @@ begin
With FPanel do
begin
Parent:=Self;
Top:=99;
Top:=109;
Height:=32;
Width:=200;
Align:=alBottom;