mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:19:19 +02:00
lcl: store Label color if it differs from clNone without regards to ParentColor
git-svn-id: trunk@16537 -
This commit is contained in:
parent
1fa9302245
commit
c20e56842f
@ -369,9 +369,7 @@ end;
|
||||
|
||||
function TCustomLabel.ColorIsStored: boolean;
|
||||
begin
|
||||
Result:=(Color<>clNone);
|
||||
if Result and ParentColor and (Parent<>nil) then
|
||||
Result:=false;
|
||||
Result := (Color <> clNone);
|
||||
end;
|
||||
|
||||
{-------------------------------------------------------------------------------
|
||||
|
@ -1402,7 +1402,7 @@ type
|
||||
{ TCustomLabel }
|
||||
|
||||
TCustomLabel = class(TGraphicControl)
|
||||
Private
|
||||
private
|
||||
FAlignment: TAlignment;
|
||||
FFocusControl: TWinControl;
|
||||
FOptimalFill: Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user