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

Code snippet missing in docs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11
    • 5.7.0
    • Documentation
    • None

    Description

      On https://doc.qt.io/qt-5/qtquicklayouts-overview.html#size-constraints there is an empty code snippet.
      The code is

        \snippet windowconstraints.qml rowlayout
      

      and windowconstraints.qml exists in qtquickcontrols/src/layouts/doc/src/snippets/ with

          //! [rowlayout]
          //! [anchoring]
          RowLayout {
              id: layout
              anchors.fill: parent
          //! [anchoring]
              spacing: 6
              Rectangle {
                  [...]
              }
              Rectangle {
                  [...]
              }
          }
          //! [rowlayout]
      

      with the "anchoring" snippet working just fine (lower on the page in section "Connecting windows and layouts").
      So maybe those tags cannot be nested?

      Attachments

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

        Activity

          People

            vertries Nico Vertriest (Inactive)
            fsch Anonymous (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes