mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 11:49:55 +02:00
disable autosize for calendardialogform, because it doesn't work correctly
git-svn-id: trunk@9350 -
This commit is contained in:
parent
eadacf707a
commit
cee4c76647
@ -1187,7 +1187,7 @@ begin
|
||||
DF.Caption:=FDialogTitle;
|
||||
DF.Position:=poMainFormCenter;
|
||||
DF.BorderStyle:=bsDialog;
|
||||
DF.AutoSize:=true;
|
||||
//DF.AutoSize:=true;
|
||||
|
||||
FCalendar:=TCalendar.Create(Self);
|
||||
with FCalendar do begin
|
||||
@ -1233,6 +1233,8 @@ begin
|
||||
Align:=alLeft;
|
||||
Cancel:=True;
|
||||
end;
|
||||
DF.ClientWidth := FCalendar.Width;
|
||||
DF.ClientHeight := panel.Top+panel.Height;
|
||||
|
||||
Result:=DF.ShowModal=mrOK;
|
||||
FreeAndNil(FCalendar);
|
||||
|
Loading…
Reference in New Issue
Block a user