Hi,
We are working on an application that also supports RTL languages. During development we noticed a number of rendering issues, which I isolated in a small demo.
The source for this demo can be found here:
http://upload.xandrios.net/GWFClient.java
The test was done with the latest Smart GWT nightly build: v8.3d_2012-11-04/LGPL Development Only (built 2012-11-04)
IE9: LTR (dir='ltr' on <html> tag, locale set to English):
IE9: RTL (dir='rtl' on <html> tag, locale set to Arabic):
FF v16.0.1: RTL (dir='rtl' on <html> tag, locale set to Arabic):
So a few things that can be noticed in RTL mode:
* Button's rounded sides are mirrored wrong
* Next/Prev month buttons are mirrored incorrectly
* Form group title is aligned at the wrong side
* Window title is aligned at the wrong side
The last two items we have fixed by adding some CSS rules, but that is far from ideal. Also the next/prev month/year buttons are mirrored wrong depending on the browser: IE9 and the latest FF render them in different ways (But both incorrect).
I understand RTL support will be official from the soon to be released 3.1 Final release, these issues might need to be fixed beforehand. Unless I am doing something wrong..?
Thanks!
We are working on an application that also supports RTL languages. During development we noticed a number of rendering issues, which I isolated in a small demo.
The source for this demo can be found here:
http://upload.xandrios.net/GWFClient.java
The test was done with the latest Smart GWT nightly build: v8.3d_2012-11-04/LGPL Development Only (built 2012-11-04)
IE9: LTR (dir='ltr' on <html> tag, locale set to English):
IE9: RTL (dir='rtl' on <html> tag, locale set to Arabic):
FF v16.0.1: RTL (dir='rtl' on <html> tag, locale set to Arabic):
So a few things that can be noticed in RTL mode:
* Button's rounded sides are mirrored wrong
* Next/Prev month buttons are mirrored incorrectly
* Form group title is aligned at the wrong side
* Window title is aligned at the wrong side
The last two items we have fixed by adding some CSS rules, but that is far from ideal. Also the next/prev month/year buttons are mirrored wrong depending on the browser: IE9 and the latest FF render them in different ways (But both incorrect).
I understand RTL support will be official from the soon to be released 3.1 Final release, these issues might need to be fixed beforehand. Unless I am doing something wrong..?
Thanks!