Item {
property double duration: 0
property double position: 0
-Text {
- text: {
- if (!timeFormatter) return "";
- var durationStr = timeFormatter.format(duration);
- var positionStr = timeFormatter.format(position);
- return positionStr + " / " + durationStr;
+ Text {
+ text: {
+ if (!timeFormatter) return "";
+ var durationStr = timeFormatter.format(duration);
+ var positionStr = timeFormatter.format(position);
+ return positionStr + " / " + durationStr;
+ }
+ color: "red"
+ anchors.centerIn: parent
}
- color: "red"
- anchors.centerIn: parent
-}
}