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

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

XMLWordPrintable

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

      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

        1. VCOS7xj.png
          1 kB
          M. Bashir Al-Noimi
        2. vmvQvi3.png
          2 kB
          M. Bashir Al-Noimi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes