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

QDateTimeEdit widget appears larger when managed by a layout with Qt::AlignHCenter alignment compared to older Qt versions.

    XMLWordPrintable

Details

    • Windows

    Description

      QDateTimeEdit widget appears larger when managed by a layout with Qt::AlignHCenter alignment compared to older Qt versions.

      To reproduce the issue, run the attached example project and check the console output.

      // On my machine
      // Qt Version:  6.5.4    QRect(294,284 211x32)
      // Qt Version:  6.8.0   QRect(294,284 211x32)    
      // Qt Version:  6.8.3 QRect(290,284 220x32) 

      Attachments

        1. QTBUG-138369.zip
          2 kB
        2. with.png
          with.png
          2 kB
        3. without.png
          without.png
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            mahdi.belila Mehdi Belila
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes