Use RTL text for RTL widgets
Hossein Noorikhah
hossein.ir at gmail.com
Mon Mar 26 07:14:17 PDT 2012
Hi,
This is a picture from 3.5 release notes that shows the new RTL widgets
(combo boxes) used in Libreoffice.
http://wiki.documentfoundation.org/ReleaseNotes/3.5
Creating RTL widgets is good, but it should be noted that the text should
be also RTL.
[image: http://wiki.documentfoundation.org/images/9/98/Gtk_rtl_3.5.png]
If you look at the Arabic text, and test it yourself, you will find out
that although the widget is RTL, but the text is not. This problem exist
for editable text boxes like Font selection text box. For readonly text
like the text you will see in como boxes, The text is RTL.
When selecting font, we have another problem. The English name of the font
is right-aligned altough it should be left-aligned and the Arabic sample is
left aligned, although it should be right-aligned. Smart decision can be
determining RTL or LTR according to the text, just like the way Gedit does
for English or Arabic text.
Compare these:
[image: تصویر درون برنامهای 1]
*Current UI*
[image: تصویر درون برنامهای 2]
*Desired UI*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120326/be1d044c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 20701 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120326/be1d044c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 20796 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120326/be1d044c/attachment-0003.png>
More information about the LibreOffice
mailing list