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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.0
    • 5.3.0
    • Documentation
    • 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

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

          Activity

            People

              carochao Caroline Chao (Inactive)
              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