lcl: Add RTL support to the Themes DrawText function by zaher dirkey (issue #0014927)

git-svn-id: trunk@22320 -
This commit is contained in:
paul 2009-10-28 13:42:18 +00:00
parent 32bacb6d1c
commit 612a84b15e

View File

@ -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