mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 13:56:00 +02:00
MG: fixed missing initialization
git-svn-id: trunk@1431 -
This commit is contained in:
parent
b89d0b7c59
commit
dc2e8ef5ff
@ -1868,6 +1868,7 @@ procedure TPropertyEditor.PropDrawValue(ACanvas:TCanvas; const ARect:TRect;
|
||||
var
|
||||
Style : TTextStyle;
|
||||
begin
|
||||
FillChar(Style,SizeOf(Style),0);
|
||||
With Style do begin
|
||||
Alignment := taLeftJustify;
|
||||
Layout := tlCenter;
|
||||
@ -1876,6 +1877,7 @@ begin
|
||||
ShowPrefix := True;
|
||||
WordBreak := False;
|
||||
SingleLine := True;
|
||||
SystemFont := true;
|
||||
end;
|
||||
ACanvas.TextRect(ARect, 3,0,GetVisualValue, Style);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user