mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 05:59:30 +02:00
formatting
git-svn-id: trunk@14817 -
This commit is contained in:
parent
ce0cf00e3d
commit
104762c2a8
@ -3234,7 +3234,8 @@ procedure TControl.SetVisible(Value : Boolean);
|
||||
var
|
||||
AsWincontrol: TWinControl;
|
||||
begin
|
||||
if FVisible <> Value then begin
|
||||
if FVisible <> Value then
|
||||
begin
|
||||
//DebugLn(['TControl.SetVisible ',DbgSName(Self),' NewVisible=',Value]);
|
||||
VisibleChanging;
|
||||
FVisible := Value;
|
||||
@ -3245,7 +3246,8 @@ begin
|
||||
AsWincontrol := TWinControl(Self)
|
||||
else
|
||||
AsWincontrol := nil;
|
||||
if FVisible then begin
|
||||
if FVisible then
|
||||
begin
|
||||
if AsWincontrol <> nil then
|
||||
Include(AsWincontrol.FWinControlFlags, wcfReAlignNeeded);
|
||||
AdjustSize;
|
||||
|
Loading…
Reference in New Issue
Block a user