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

Code snippet missing in docs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.11
    • Component/s: Documentation
    • Labels:
      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

            Assignee:
            vertries Nico Vertriest (Inactive)
            Reporter:
            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