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

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

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11, macOS
    • Commits:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes