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

QGridLayout::addWidget(w, Qt::AlignCenter) adds widget with the wrong sizeHint on Mac

XMLWordPrintable

    • macOS

      QGridLayout::addWidget(w, Qt::AlignCenter) adds widget with the wrong sizeHint on Mac.

      If the widget w is a QLabel, with w->setWordWrap(true), it will not use the entire width, and parts of the text might not be visible.

      This also happens on 4.4 and it also happens on Windows if you make the first text longer, so its not a platform regression.

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

            monsen Marius Bugge Monsen
            roschern Nils Christian Roscher-Nielsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes