Right to Left Views

silvercover

Member
Licensed User
Longtime User
Hi,

How can we make views (ListView) contents to be shown right to left. I need this for right to left ordered languages such as Arabic.

Thanks.
 
After changing gravity, right aligned labels overlapped or cut off by right edge of ListView and there is no enough indention. what should I do to avoid that?

Thanks.
 

Attachments

  • lv_grav.png
    lv_grav.png
    7.1 KB · Views: 797
Upvote 0
Something like:
Code: Copy
Dim lbl As Label
lbl = lv.SingleLineLayout.Label
lbl.Width = lbl.Width - 5dip

i used this code but it disabled the gravity! after this code my text is left to right! although i used

Code: Copy
 lbl.Gravity=Gravity.RIGHT

so far i added one space before each line
 
Last edited:
Upvote 0
Back
Top