Alignment of Labels with Formlib does not work

ayman12

Member
Licensed User
Sorry for the feedback delay - I was in vacation.
Now I can tell where is the problem?
The Arabic language has special symbols which written over or lower the letters. Those symbols normally has NOT to effect the width of the letter.
i.e. The width of the letter is the same if it has or has not one of those symbols.

ON Desktop
In the attached picture, The alignment is working good, in both cases if those symbols are exists or not.

On device
It is not the case on the device.
The right or left alignment is not good because it consider the width of those symbols (has to be zero with).

The Unicode of those special symbols are :-
"6051-064E-064B-064F-064C-0650-064D-0652"

I've to check also if the text box is affect by the non printable characters

LRE U+202A dir = "ltr" attribute on block or inline element
RLE U+202B dir = "rtl" attribute on block or inline element
RLO U+202E <bdo dir ="rtl">
LRO U+202D <bdo dir ="ltr">
PDF U+202C nothing when used to terminate RLE or LRE (closure is provided

W3C I18N FAQ: Unicode controls vs. markup for bidi support


Note
pic.jpg is the device output - sory i have not device screen capture.

Right-Alig.jpg on desktop. it compares between the same text on Arabic, with and without the Arabic special symbols.
 
Last edited:
Top