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

[REG 5.11-5.12] QTableWidget wraps text before there is enough vertical space

    XMLWordPrintable

Details

    • All
    • 8b3463fdeb3d03fd0c87873089a6f84321eecc49 (qt/qtbase/5.12)

    Description

      Since 5.12.0 our QTableWidgets are doing the word wrapping when there is not enough space for fitting the displayed text lines, so the first line and the last line are truncated.

      If the wordWrap attribute is disabled, the text is displayed as expected, but the word wrapping should work as in previous versions.

      Other screenshots can be found in:

      https://github.com/sqlitebrowser/sqlitebrowser/issues/1658

      https://github.com/sqlitebrowser/sqlitebrowser/issues/1731

      Definitions of the affected QTableWidgets can be found in:

      https://github.com/sqlitebrowser/sqlitebrowser/blob/master/src/MainWindow.ui (dataTable)

      https://github.com/sqlitebrowser/sqlitebrowser/blob/master/src/PreferencesDialog.ui (tableClientCerts, tableCaCerts)

      All our QTableWidgets seem to be affected, but not our QTreeWidgets.

       

       

      Attachments

        1. main.cpp
          0.4 kB
        2. Screenshot_1.png
          Screenshot_1.png
          10 kB
        3. Screenshot_1.png
          Screenshot_1.png
          3 kB
        4. Screenshot_2.png
          Screenshot_2.png
          1 kB

        Issue Links

          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
              mgrojo Manuel Gomez
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes