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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.4.0
    • 5.3.0
    • Documentation
    • None

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes