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

Popups don't scale linearly if 'implicitWidth' and 'implicitHeight' are specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.7.2
    • 6.5.2, 6.6.1
    • Quick: Controls 2
    • None

    Description

      If I specify implicitWidth & implicitHeight for a popup, and open it in a window, and I resize the window down to ~80%, the popup scales correctly with the window. If I go down below ~70%, the popup starts to shrink faster than the window.

      I made a minimal example here: https://github.com/DanielMcInnes/testDialog.git. If you resize the app window, note that the left side of the green popup remains in the same position relative to the numbers in the Text box, until you get down to ~70%.

      If I specify 'width' and 'height' for the popup instead of 'implicitWidth' and 'implicitHeight', the problem goes away, the popup scales correctly as the window is resized.

       

      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
            daniel_mcinnes Daniel McInnes
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes