Emblem attribute of a previewWidget of type header does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-js-scopes |
Invalid
|
High
|
Alexandre Abreu |
Bug Description
I am trying to use the 'emblem' attribute on a previewWidget of type 'header'.
According to the C++ API docs, this type of previewWidget should accept an 'emblem' attribute with a URI as a value. However, when I use it with a valid URI, nothing is displayed in the widget.
If I try the exact same URI as the source for the 'mascot' attribute, the widget shows me the image in the mascot position. However, the emblem position does not seem to work.
var my_uri = "some_valid_URI"
var header = new scopes.
header.
header.
header.
Changed in unity-js-scopes: | |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
importance: | Undecided → High |
status: | New → In Progress |
This is a bug in the docs, since the preview header widget in unity8 does not support "emblem" as an attribute,
see https:/ /bugs.launchpad .net/ubuntu/ +source/ unity8/ +bug/1424720
"emblem" works in a categoryrenderer though,
I added a bug in unity-scopes-api
https:/ /bugs.launchpad .net/ubuntu/ +source/ unity-scopes- api/+bug/ 1544688