Hi, I've read the article Understand SWT Layout, but I cannot find a way to put several buttons in a container in right-to-left way.
How can I do this?
Hi, I've read the article Understand SWT Layout, but I cannot find a way to put several buttons in a container in right-to-left way.
How can I do this?
Right to left can be achieved through SWT.RIGHT_TO_LEFT flag passed to your container element. For example if you apply a RowLayout to a Composite, create Composite this way:
c = new Composite(shell, SWT.RIGHT_TO_LEFT);
Note that RTL is only implemented in Windows and Linux. Mac support is too limited (is only widget-level, not container-level).