Subtitled
List item displaying a second string under the main label. This component is under heavy development. More...
Import Statement: | import Ubuntu.Components.ListItems 0.1 |
Inherits: |
Properties
Detailed Description
Examples:
import Ubuntu.Components.ListItems 0.1 as ListItem Column { ListItem.Subtitled { text: "Idle" subText: "Secondary label" } ListItem.Subtitled { text: "Disabled" enabled: false subText: "Secondary label" } ListItem.Subtitled { text: "Selected" selected: true subText: "Secondary label" } ListItem.Subtitled { text: "Progression" subText: "Secondary label" progression: true } ListItem.Subtitled { text: "Icon" subText: "Secondary label" iconName: "compose" } ListItem.Subtitled { text: "Multiple lines" subText: "This is a multi-line subText.\nUp to 5 lines are supported." } ListItem.Subtitled { text: "Multiple lines" subText: "It also works well with icons and progression." iconName: "compose" progression: true } }
Property Documentation
subText : string |
This QML property is under development and is subject to change.
The list of strings that will be shown under the label text
text : string |
This QML property is under development and is subject to change.
The text that is shown in the list item as a label.