mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 10:19:27 +02:00
LCL, TCheckListBox: Change text direction in accordance with BiDiMode, bug #25450
git-svn-id: trunk@43587 -
This commit is contained in:
parent
8db86f24e7
commit
8109841ef9
@ -219,7 +219,7 @@ class procedure TWin32WSCustomCheckListBox.DefaultWndHandler(
|
||||
// draw text
|
||||
if CheckListBox.UseRightToLeftAlignment then begin
|
||||
TextRect.Right := TextRect.Right - 2;
|
||||
TextFlags := DT_SINGLELINE or DT_VCENTER or DT_NOPREFIX or DT_RIGHT;
|
||||
TextFlags := DT_SINGLELINE or DT_VCENTER or DT_NOPREFIX or DT_RIGHT or DT_RTLREADING;
|
||||
end
|
||||
else begin
|
||||
TextRect.Left := TextRect.Left + 2;
|
||||
|
Loading…
Reference in New Issue
Block a user