Ubuntu.Components.ListItems.SingleControl

A list item containing a single control More...

Import Statement: import Ubuntu.Components.ListItems 1.3
Inherits:

Empty

Properties

Detailed Description

Note: The component is deprecated. Use ListItem component instead.

Examples:

import Ubuntu.Components 1.3
import Ubuntu.Components.ListItems 1.3 as ListItem
Column {
ListItem.SingleControl {
control: Button {
anchors {
margins: units.gu(1)
fill: parent
}
text: "Large button"
}
}
}

Property Documentation

control : Item

The control of this SingleControl list item. The control will automatically be re-parented to, and centered in, this list item.