Copy link to clipboard
Copied
Hi yon1313​,
You can set justify propery for this: like this--
var w = new Window ("dialog", "", undefined, undefined);
var editText = w.add("edittext");
editText.preferredSize.width = 100;
editText.justify = "right"
w.show()
This is the solution for you:
editText.justify = "right";
Best
Sunil​
Copy link to clipboard
Copied
Hi yon1313​,
You can set justify propery for this: like this--
var w = new Window ("dialog", "", undefined, undefined);
var editText = w.add("edittext");
editText.preferredSize.width = 100;
editText.justify = "right"
w.show()
This is the solution for you:
editText.justify = "right";
Best
Sunil​
Copy link to clipboard
Copied
Hi Sunil,
hm. justify = "right" does not mean text is running from Right-to-Left with e.g. Hebrew text.
Don't know if that's possible at all.
As you can see from the second screen where "Right to left Reading order" is checked the text is still showing as:
"Text type Right to left" and not: "tfel ot thgiR epyt txeT".
Regards,
Uwe
Copy link to clipboard
Copied
Hi Laubender,
Justifying doesn't give you "tfel ot thgiR epyt txeT";
I will give you "Text type Right to left" only.
Justifying won't give to the scroll bar to the left problem.
That is the case.
I am also searching for the same.
Best
Sunil
Copy link to clipboard
Copied
How can I make the writing language Arabic automatically ..
I know that this is the language of the computer and the device ..
But is there a code that enables me to make the writing Arabic when writing inside the edittext ??