mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-04 12:24:52 +01:00
LCL: fixed TLabel.SetTransparent to use clBackground
git-svn-id: trunk@11726 -
This commit is contained in:
parent
de83f713f2
commit
faf9bcde66
@ -216,8 +216,11 @@ end;
|
||||
|
||||
procedure TCustomLabel.SetTransparent(NewTransparent: boolean);
|
||||
begin
|
||||
if Transparent=NewTransparent then exit;
|
||||
if NewTransparent then
|
||||
Color := clNone;
|
||||
Color := clNone
|
||||
else if Color = clNone then
|
||||
Color:=clBackground;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user