Marquee QML Type
A scrolling marquee text display. More...
| Import Statement: | import FluentUI.Controls 1.0 |
Properties
Detailed Description
Marquee displays text that scrolls horizontally when the content exceeds the available width. It is commonly used to show lengthy text in confined spaces, such as status bars or media player controls. The scrolling speed and play state are configurable.
Usage Example
import QtQuick import FluentUI.Controls Marquee { text: "This is a long scrolling text that animates horizontally" width: 200 speed: 50 running: true }
Property Documentation
color : color
The color of the marquee text.
font : font
The font used for the marquee text.
running : bool
Whether the scrolling animation is active. When false, the text is stationary. Set to true to start or resume scrolling.
speed : real
The scrolling speed in pixels per second. Higher values produce faster scrolling animation.
text : string
The text content to display and scroll.