[Fedora-trans-ar] Re: Arabic issue #3: Qt::AlignAuto doesn't align according the language!

Munzir Taha munzirtaha at newhorizons.com.sa
Thu Mar 24 00:06:25 UTC 2005


On Thursday 03 February 2005 01:35, Munzir Taha wrote:
> On Yaum al-Arbi'a 22 Thu al-Hijjah 1425 5:10 pm, Lars Knoll wrote:

> > As a short comment to this:
> >
> > We removed the AlignAuto from Qt and hopefully replaced it with a more
> > consistent and intuitive approach.

AlignAuto is still mentioned on the docs

"Justifies the text in the available space. Does not work for everything and 
may be interpreted as AlignAuto in some cases."

Please remove it!

> > By default, text inherits the widgets direction, so when you start an app
> > with -reverse everything is right aligned. You can switch the direction
> > of a string using the Shift+Ctrl combination (if you enabled it in
> > qtconfig).

This doesn't seem to work. I tested like this:

       QApplication::setLayoutDirection(Qt::RightToLeft);
       QTextEdit *text = new QTextEdit(trUtf8("عربي ...");

and the text is still left aligned!

> > Please try it with tonights snapshot. I think it comes much closer to the
> > behaviour one would expect intuitively than the Qt 3 way.

Qt 4.0.0-b2-snapshot-20050315

Keep up the good work Lars!

-- 
Munzir Taha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the OpenBugs project page at
http://www.arabic-fedora.org/munzir/OpenBugs.html
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA




More information about the Fedora-trans-ar mailing list