Hi,
I have a test code at https://github.com/liu-xiao-guo/testubuntucolor.
If I run the app, I end up with the error like:
qrc:///Main.qml:32:26: Unable to assign [undefined] to QColor
line 32 is exactly:
title.color: UbuntuColors.Orange
Have you tried to run the code?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1561861
Title:
UbuntuColors.Orange should be Ubuntu.orange instead
Status in ubuntu-ui-toolkit package in Ubuntu:
Incomplete
Bug description:
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ListItemLayout/
The code:
ListItemLayout {
id: layout
title.text: "Hello..."
title.color: UbuntuColors.Orange
subtitle.text: "...world!"
Rectangle {
SlotsLayout.position: SlotsLayout.Leading
color: "pink"
height: units.gu(6)
width: height
}
UbuntuColors.Orange should be Ubuntu.orange
Best regards,
XiaoGuo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1561861/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp