Details
-
Bug
-
Resolution: Incomplete
-
P4: Low
-
None
-
5.0.0
Description
In the code below, the pointSize does not change. It will work if font.bold: true is commented out, but it will animate from 13 to 80 instead of 25 to 80.
import QtQuick 2.0 Item { id: main height: 640; width: 360 Text { id: label text: "hello world" font.pointSize: 25 Behavior on font.pointSize { NumberAnimation { duration: 2000 } } } states: [ State { name: "1" PropertyChanges { target: label; font.pointSize: 80; font.bold: true } // Comment font.bold out } ] MouseArea { anchors.fill: parent onClicked: { if (main.state == "") main.state = "1" else main.state = "" } } }
Attachments
Issue Links
- resulted from
-
QTBUG-19848 Regression: changes to Text element properties break further changes to font
-
- Closed
-