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

Text disappearing from QTextEdit if alignment is set after setting the text

    XMLWordPrintable

Details

    • Linux/X11, macOS
    • b6ce61f486a06ded273d518d871906f9a53ab7c1 (qt/qtbase/5.13)

    Description

      If a user set some multiple line content in a TextEdit and then set the alignment to "Qt::AlignLeft | Qt::AlignVCenter", then some lines from the TextEdit disappears.
      Please refer to the attached sample,
      While scrolling down, you can see only few rows, whereas if setAlignment() is commented, all the 999 rows can be seen.

      Issue is with Linux system, Works fine on Windows.

      Attachments

        Activity

          People

            khormi Kari Hormi
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: