Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29341

QPlainTextEdit doesn't align to the right when RightToLeft is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.8.1
    • GUI: Text handling
    • None
    • * Windows 7 (32bit + 64bit)
      * Windows 8 (32bit + 64bit)
      * Linux Mint (32bit + 64bit)

    Description

      1. Create a new QMainWindow
      2. Add QLineEdit & QPlainTextEdit
      3. Turn apllication layout to RightToLeft ( QApplication::setLayoutDirection(Qt::RightToLeft) )
      4. Switch your keyboard layout to RightToLeft (Arabic, Hebrew... etc)
      5. QLineEdit will set Arabic text alignmet to right while QPlainTextEdit sets Arabic text alignmet to left

      Attachments

        1. VCOS7xj.png
          VCOS7xj.png
          1 kB
        2. vmvQvi3.png
          vmvQvi3.png
          2 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              mbnoimi_ M. Bashir Al-Noimi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes