4
height: marqueeText.height + padding
7
// text to be displayed by the Marquee
9
// top/bottom text padding
10
property int padding : 10
11
// the font size used by the Marquee
12
property int fontSize : 44
13
// the scrolling animation interval
14
property int interval : 100
16
property color textColor: "white"
18
anchors.verticalCenter: parent.verticalCenter
20
font.pointSize: fontSize
26
interval: parent.interval
27
onTriggered: moveMarquee()
31
function moveMarquee()
33
if(marqueeText.x + marqueeText.width < 0)
35
marqueeText.x = marqueeText.parent.width;