ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #05902
[Bug 1557252] [NEW] Cannot assign to non-existent property "header"
Public bug reported:
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.Header/
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
anchors.fill: parent
color: UbuntuColors.blue
}
}
Flickable {
id: scrollableContent
anchors.fill: parent
contentHeight: height * 2
Label {
text: "Flick me"
}
}
}
When running, it gives the error like:
qrc:///Main.qml:32:13: Cannot assign to non-existent property "header"
Best regards,
XiaoGuo
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1557252
Title:
Cannot assign to non-existent property "header"
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.Header/
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
anchors.fill: parent
color: UbuntuColors.blue
}
}
Flickable {
id: scrollableContent
anchors.fill: parent
contentHeight: height * 2
Label {
text: "Flick me"
}
}
}
When running, it gives the error like:
qrc:///Main.qml:32:13: Cannot assign to non-existent property "header"
Best regards,
XiaoGuo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1557252/+subscriptions
Follow ups