[Qt-interest] QTextEdit input from right to left

Diego Iastrubni diegoiast at gmail.com
Mon Mar 22 21:27:24 CET 2010


Are you sure you did not:
QWidget->setLayoutDirection(Qt::rightToLeft)?

Please provide a working code that reproduces the problem.

On Mon, Mar 22, 2010 at 8:51 PM, Yong Zhang <yzhang.qt at gmail.com> wrote:

> Hi All,
>
> I am using Qt 4.6 on Windows XP Professional.
>
> In my application, I use a QTextEdit for user to input some text
> information. However, it is strange that when the user input the text
> inside the QTextEdit, the text is entered from right to left, instead of
> from left to right, that is, the new letter appears at the very left but
> not the right location of the previous letters.  I checked the QTextEdit
> property and did not find anything related to this. I am wondering if
> anyone has this similar problem and how I could solve it.
>
> Thank you very much,
>
> Yong
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100322/1d1b41ba/attachment.html 


More information about the Qt-interest-old mailing list