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

QWizardPage does not support High-DPI Watermark Pixmaps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.2
    • Widgets: Layout
    • None
    • Windows

    Description

      If a watermark pixmap with a DevicePixelRatio of 2.0 is set for a QWizardPage, then the layout of the page reserves too much space for the pixmap. For example if the size of a watermark pixmap is 100 x 100 px, we can provide a high DPI version of this pixmap with 200 x 200 px and a DevicePixelRatio of 2.0. In this case, the QWizardPage layout reserv 2.0 * the space required. The following picture and the provided minimal example show this problem:

      If we use a pixmap with a DevicePixelRation of 1.0, then everything is ok:

      So it is not possible to use high-DPI pixmaps in QWizardPages.

       

      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
            ukindler Uwe Kindler
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes