mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 14:29:36 +02:00
Keith: Minor sizing enhancements
git-svn-id: trunk@1289 -
This commit is contained in:
parent
358d0e4f65
commit
2b29622a94
@ -1337,6 +1337,11 @@ Var
|
|||||||
Handle: HWND;
|
Handle: HWND;
|
||||||
TM: TEXTMETRICA;
|
TM: TEXTMETRICA;
|
||||||
Begin
|
Begin
|
||||||
|
if Sender is TCustomForm then
|
||||||
|
begin
|
||||||
|
inc(Width, 50);
|
||||||
|
inc(Height, 50);
|
||||||
|
end;
|
||||||
Handle := (Sender As TWinControl).Handle;
|
Handle := (Sender As TWinControl).Handle;
|
||||||
If (TControl(Sender).Parent Is TCustomGroupBox) Or (TControl(Sender).Parent Is TPage) Then
|
If (TControl(Sender).Parent Is TCustomGroupBox) Or (TControl(Sender).Parent Is TPage) Then
|
||||||
Begin
|
Begin
|
||||||
@ -2496,6 +2501,9 @@ End;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.22 2002/08/25 21:33:54 lazarus
|
||||||
|
Keith: Minor sizing enhancements
|
||||||
|
|
||||||
Revision 1.21 2002/06/08 19:18:34 lazarus
|
Revision 1.21 2002/06/08 19:18:34 lazarus
|
||||||
Keith: Fixed some bugs that were brought to my attention; fixed compilation problem.
|
Keith: Fixed some bugs that were brought to my attention; fixed compilation problem.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user