Obsolete Members for Page
The following members of QML type Page are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
- actionContext : ActrionContext
- header : Item
Property Documentation
The action context of the page.
This property was introduced in Ubuntu.Components 1.3.
header : Item |
The header property for this page. Setting this property will reparent the header to the page and disable the MainView's application header.
Page { id: page header: PageHeader { title: "Page with header" trailingActionBar.actions: [ Action { iconName: "settings" }, Action { iconName: "info" } ] flickable: myFlickable } }
To avoid Page content being occluded by the header, the contents of the Page should anchor to the bottom of the header. When the Page contents is flickable, the contents does not need to be anchored to the header, but it is recommended to use a PageHeader or Header component as the Page header, and set its Header::flickable property so that the Flickable gets a top-margin that leaves enough space for the header.
This property was introduced in Ubuntu.Components 1.3.
See also PageHeader and Header.