mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 05:00:43 +02:00
parent
1592b3d7b3
commit
3761e86eeb
@ -1187,11 +1187,11 @@ begin
|
||||
DF.Caption:=FDialogTitle;
|
||||
DF.Position:=poMainFormCenter;
|
||||
DF.BorderStyle:=bsDialog;
|
||||
DF.AutoSize:=true;
|
||||
|
||||
FCalendar:=TCalendar.Create(Self);
|
||||
with FCalendar do begin
|
||||
Parent:=DF;
|
||||
DF.Width:=Width;
|
||||
Align:=alTop;
|
||||
DateTime:=Self.Date;
|
||||
DisplaySettings:=Self.DisplaySettings;
|
||||
@ -1205,8 +1205,7 @@ begin
|
||||
Parent:=DF;
|
||||
Caption:='';
|
||||
Height:=32;
|
||||
DF.Height:=FCalendar.Height+Height;
|
||||
Align:=alBottom;
|
||||
AnchorToCompanion(akTop, 0, FCalendar);
|
||||
BevelOuter:=bvLowered;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user