mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 00:37:14 +01:00
lcl: add support for '&' in themed text drawing
git-svn-id: trunk@15293 -
This commit is contained in:
parent
ad99296adb
commit
372a450379
@ -2109,6 +2109,7 @@ begin
|
||||
TXTStyle := Canvas.TextStyle;
|
||||
TXTStyle.Opaque := False;
|
||||
TXTStyle.Clipping := True;
|
||||
TXTStyle.ShowPrefix := (Flags and DT_NOPREFIX) = 0;
|
||||
|
||||
if (Flags and DT_CENTER) <> 0 then
|
||||
TXTStyle.Alignment := taCenter
|
||||
|
||||
Loading…
Reference in New Issue
Block a user