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

Unexpected height in QPlainTextEdit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.5.3, 4.6.3, 4.7.0, 4.7.2, 4.7.3
    • None
    • Windows 7, Linux

    Description

      When I setPlainText() to the instance of QPlainTextEdit, the height size of the instance is unexpected. The height is higher than expected.
      (See attached PNG. The area of red rectangle is unexpected space.)

      Steps to reproduce
      Execute attached example and scroll to the bottom.
      (The left is the instance of QTextEdit and the right is QPlainTextEdit.)

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            qtcomsupport Qt Support
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes