[Fedora-trans-ar] Re: Arabic issue #3: Text doesn't inherits the widgets direction

Simon Hausmann simon.hausmann at trolltech.com
Thu May 26 11:44:59 UTC 2005


On Wednesday 25 May 2005 07:43, Munzir Taha wrote:
> 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:
> > > 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!

Oops, that should be fixed in tomorrow's snapshot.

Simon




More information about the Fedora-trans-ar mailing list