mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 19:08:03 +02:00
lcl: Add RTL support to the Themes DrawText function by zaher dirkey (issue #0014927)
git-svn-id: trunk@22320 -
This commit is contained in:
parent
32bacb6d1c
commit
612a84b15e
@ -2304,7 +2304,7 @@ begin
|
||||
TXTStyle.Layout := tlBottom
|
||||
else
|
||||
TXTStyle.Layout := tlTop;
|
||||
|
||||
TXTStyle.RightToLeft := (Flags and DT_RTLREADING) <> 0;
|
||||
// set color here, otherwise SystemFont is wrong if the button was disabled before
|
||||
TXTStyle.SystemFont := Canvas.Font.IsDefault;//Match System Default Style
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user