SingleControl

A list item containing a single control More...

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

Empty

Properties

Detailed Description

Examples:

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

This component is under heavy development.

Property Documentation

control : Item

This QML property is under development and is subject to change.

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