Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103962 Modernize QML/Quick examples
  3. QTBUG-122119

Qt Quick examples: Ensure that items have sensible implicitWidths/implicitHeights

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Examples and Demos
    • None

    Description

      For example, the "Qt Quick Controls - Gallery" example (https://doc.qt.io/qt-6/qtquickcontrols-gallery-example.html )'s pages have no preferred/implicit size defined, so they default to 0x0 (https://doc.qt.io/qt-6/qml-qtquick-item.html#implicitWidth-prop ).

      This causes Qt Creator's "Live Preview" mode (https://doc.qt.io/qtcreator/creator-live-preview-desktop.html ) to render them in a weird way:

      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
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes