Example on Page QML documentation does not work, Cannot assign to non-existent property "head"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
import QtQuick 2.0
import Ubuntu.Components 1.1
MainView {
width: units.gu(48)
height: units.gu(60)
Page {
title: i18n.tr("Example page")
Label {
text: i18n.tr("Hello world!")
}
Action {
},
Action {
}
]
}
}
Putting that in a file and running it gives an error:
$ qmlscene ~/Scratch/
file://
This means that I do not understand how to use header actions in a Page at all.
affects: | developer-ubuntu-com → ubuntu-ui-toolkit |