Hi liu-xiao-guo, I have just sent an MR that fixes the typo you reported. Sorry if it took so long, I was not aware of this bug (as I'm not in the SDK team, but I implemented ListItemLayout) and only just found it while I was doing a random text search for launchpad bugs that were affecting components I wrote.
Thanks for reporting the bug, it's important to have a polished and reliable documentation! ** Summary changed: - UbuntuColors.Orange should be Ubuntu.orange instead + UbuntuColors.Orange should be UbuntuColors.orange instead ** Summary changed: - UbuntuColors.Orange should be UbuntuColors.orange instead + ListItemLayout documentation: UbuntuColors.Orange should be UbuntuColors.orange instead ** Also affects: ubuntu-ui-toolkit (Ubuntu RTM) Importance: Undecided Status: New ** Changed in: ubuntu-ui-toolkit (Ubuntu RTM) Status: New => In Progress ** Changed in: ubuntu-ui-toolkit (Ubuntu RTM) Importance: Undecided => Low ** Changed in: ubuntu-ui-toolkit (Ubuntu RTM) Assignee: (unassigned) => Andrea Bernabei (faenil) ** No longer affects: ubuntu-ui-toolkit (Ubuntu RTM) -- 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/1561861 Title: ListItemLayout documentation: UbuntuColors.Orange should be UbuntuColors.orange instead Status in ubuntu-ui-toolkit package in Ubuntu: In Progress 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/~ubuntu-sdk-bugs Post to : ubuntu-sdk-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs More help : https://help.launchpad.net/ListHelp