mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 23:49:34 +02:00
lcl: fix TThemeServices.DrawText - correctly set SingleLine, Clipping attributes
git-svn-id: trunk@29647 -
This commit is contained in:
parent
d832146b1b
commit
5eaebdc1e4
@ -2339,8 +2339,9 @@ var
|
||||
begin
|
||||
TXTStyle := Canvas.TextStyle;
|
||||
TXTStyle.Opaque := False;
|
||||
TXTStyle.Clipping := True;
|
||||
TXTStyle.Clipping := (Flags and DT_NOCLIP) = 0;
|
||||
TXTStyle.ShowPrefix := (Flags and DT_NOPREFIX) = 0;
|
||||
TXTStyle.SingleLine := (Flags and DT_SINGLELINE) <> 0;
|
||||
|
||||
if (Flags and DT_CENTER) <> 0 then
|
||||
TXTStyle.Alignment := taCenter
|
||||
|
Loading…
Reference in New Issue
Block a user