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

Incorrect binding for implicitHeight in Popup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0, 5.9.0 Alpha
    • Fix Version/s: 5.9.0 Beta 1
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      c4de17f8ce0abd2d97c99da2073131d15a93ab83

      Description

      The binding:

      implicitHeight: Math.max(background ? background.implicitHeight : 0,
                                   contentWidth > 0 ? contentHeight + topPadding + bottomPadding : 0)
      

      in Popup.qml for all styles should by probably replaced with:

      implicitHeight: Math.max(background ? background.implicitHeight : 0,
                                   contentHeight > 0 ? contentHeight + topPadding + bottomPadding : 0)
      

      It does not really matter for functionality and i think, this was a copy-paste mistake

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            permotion88 Karol Polak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes