mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 12:59:14 +02:00
*do not process ampersand as treeview nodes, makes alignment mess. fixes issue #19532
git-svn-id: trunk@32669 -
This commit is contained in:
parent
a21a345ffc
commit
33b1105d89
@ -4637,9 +4637,9 @@ var
|
||||
Details := ThemeServices.GetElementDetails(ttItemNormal);
|
||||
|
||||
if (tvoThemedDraw in Options) then
|
||||
ThemeServices.DrawText(Canvas, Details, AText, NodeRect, DT_CENTER or DT_VCENTER or DT_SINGLELINE, 0)
|
||||
ThemeServices.DrawText(Canvas, Details, AText, NodeRect, DT_CENTER or DT_VCENTER or DT_SINGLELINE or DT_NOPREFIX, 0)
|
||||
else
|
||||
DrawText(Canvas.Handle, PChar(AText), -1, NodeRect, DT_CENTER or DT_VCENTER or DT_SINGLELINE);
|
||||
DrawText(Canvas.Handle, PChar(AText), -1, NodeRect, DT_CENTER or DT_VCENTER or DT_SINGLELINE or DT_NOPREFIX);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user