Page 1 of 1

ListMarker and rvbdRightToLeft

Posted: Thu Mar 09, 2006 11:17 am
by peke
Hi,

numbered list markers do not behave correctly while using rvbdRightToLeft mode. It should use SetTextAlign(.., TA_RTLREADING) in DoPaint method. I've fixed it myself but can you (Sergey) implement it into your source?

Posted: Thu Mar 09, 2006 11:35 am
by Sergey Tkachenko
What's wrong with markers?
They should be to the right side of the paragraph, if paragraph is RTL.

Posted: Thu Mar 09, 2006 12:47 pm
by peke
LTR:

Code: Select all

1.      bla bla
  1.1.  bla bla
RTL, original wrong view:

Code: Select all

alb alb    1.
alb alb  1.1.
RTL, original correct view:

Code: Select all

alb alb    .1
alb alb  .1.1
As you can see the very last point is reversed.