Hi i have a problem with listvien TextAlignment right to left cant do it
Hi @abdenasser_oulefki welcome to our community!
Unfortunately, AI2 listview can't set TextAlignment
@abdenasser_oulefki would you like to file an issue on GitHub so that someone can try to solve it?
Hi,
I had this problem as well, coding an app for RTL language.
I solved this using the following procedure.
It receives as inputs the list and the min_length.
The min_length is how many characters fill a full line in the listview (this depends on the listview width and font size).
It adds blanks when needed to get a right alignment.
We'll have to think about this. What we may want to do internally is lay the views out in the reverse order horizontally when the device's locale is a RTL locale. One potential downside is that it would break apps that have already attempted to compensate for the fact that App Inventor apps are all LTR.
If adding this support, why not make it configurable like other components? (align H/V...)
Also note, that RTL support is missing from the checkbox component as well (box on the left, text on the right...)
Thanks.
It really isn't a problem to do it that way. I think there are actually serious other problems to be solved right now.
Thanks for feedback. This feature really should be available. I don't know how fast we will be able to act on it, but I will file a feature issue.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.