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

Refering to value defined at another level in "First Steps with QML"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.4.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      In First Steps with QML
      http://qt-project.org/doc/qt-5/qmlfirststeps.html
      Chapter Animations

      property int animatedValue: 0
      Text

      { anchors.centerIn: parent text: animatedValue }

      animatedValue exists in the parent and not in the current level, so it should probably be like this instead:

      text: parent.animatedValue

      for the animation to work

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-42404
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              carochao Caroline Chao (Inactive)
              Reporter:
              filip.svensson Filip Svensson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes