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

When the DPI is changed on Windows to be one higher and a label has an alignment in a layout it is not updated correctly

    XMLWordPrintable

Details

    Description

      When the DPI is changed on Windows to be one higher and a label has an alignment in a layout it is not updated correctly. It will keep the original size of the label and not update to the new one. This does not happen if there is no explicit alignment set.

      With the example, run it and then change the DPI to 150% or 200% and see that it has not updated. If you comment out the setAlignment() call then it works fine.

      Attachments

        1. qtbug77136_diag.diff
          1 kB
        2. qtbug77136.tar.gz
          1 kB
        3. qtbug77136.zip
          2 kB
        4. repro.py
          4 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
              andysh Andy Shaw
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes