mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 20:19:14 +02:00
fixed PropDrawName style init
git-svn-id: trunk@4529 -
This commit is contained in:
parent
43ea5ac01c
commit
a627ec7e42
@ -27,7 +27,6 @@
|
||||
workaround
|
||||
-StrToInt64 has a bug. It prints infinitly "something happened"
|
||||
-> taking my own
|
||||
-Message Dialogs on errors
|
||||
|
||||
-many more... see XXX
|
||||
}
|
||||
@ -2227,6 +2226,7 @@ procedure TPropertyEditor.PropDrawName(ACanvas:TCanvas; const ARect:TRect;
|
||||
var
|
||||
Style : TTextStyle;
|
||||
begin
|
||||
FillChar(Style,SizeOf(Style),0);
|
||||
With Style do begin
|
||||
Alignment := taLeftJustify;
|
||||
Layout := tlCenter;
|
||||
@ -2235,6 +2235,7 @@ begin
|
||||
ShowPrefix := False;
|
||||
WordBreak := False;
|
||||
SingleLine := True;
|
||||
SystemFont := true;
|
||||
end;
|
||||
ACanvas.TextRect(ARect, 2,0,GetName, Style);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user