Community
Participate
Working Groups
Hi; I have been trying to use SWT to make an Arabic GUI interface for some project I'm working on now. the problem I have is: The Text class works fine with Arabic, I can enter Arabic text by pressing the Alt+Shit, and I can change the direction with Ctrl+Shif. now, I can't programmatically start the text field with the right alignment, I used the style SWT.RIGHT, it did not work, and I've been told that it should work, but it would jump to the start of the line everytime I press a space, now I have been told too that there is a Sytle that I should suggest that make the Text field starts with the right alignment as the real text field show. My system is XP with Arabic Enabled, and as I said before I can convert the text field by pressing the above 2 key compination, but there should be a way to make it start from right, this is important for all BIDI Application. My request is "RTL text alignment/orientation, not RTL text input." I'm using XP and that last stable eclipse build GM6. Regards, Ali
This has become into my way to deliver my new work now, I would love to see this style added, something that would make programmatically start the text field with the right alignment, this has become major importance to me, I thougt this should be easy since SWT can implement the same behavior of the native component.
Bidi work is not in the plan for 2.1. Would some Windows specific code for Text allow you to ship? The code we would provide would not be API and would be unsupported.
*** This bug has been marked as a duplicate of 15165 ***