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

Code snippet missing in docs

XMLWordPrintable

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

      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?

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes