Error in Header documentation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Committed
|
Medium
|
Tim Peeters |
Bug Description
https:/
on the link, the sample code:
import QtQuick 2.4
import Ubuntu.Components 1.3
Item {
width: units.gu(50)
height: units.gu(70)
header: Header {
width: parent.width
height: units.gu(6)
flickable: scrollableContent
Rectangle {
// to visualize the header
color: UbuntuColors.blue
}
}
Flickable {
id: scrollableContent
Label {
text: "Flick me"
}
}
}
When running, it gives the error like:
qrc:///
Best regards,
XiaoGuo
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Andrea Bernabei (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedsrc/Ubuntu/Components/plugin/ucheader.cpp (+1/-1)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
summary: |
- Cannot assign to non-existent property "header" + Error in Header documentation |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | High → Medium |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
You need at least UITK r1685 to have the Page.header property.