When I add a gallery widget like this (image uris are just examples):
var images = new scopes.lib.PreviewWidget("images", "gallery"); images.add_attribute_value("sources", [ 'http://.../img1.png', 'http://.../img2.png' ] );
I get this error on console: file:///usr/share/unity8//Dash/Previews/PreviewImageGallery.qml:131:25: Unable to assign QJSValue to QUrl file:///usr/share/unity8//Dash/Previews/PreviewImageGallery.qml:62:21: Unable to assign QJSValue to QUrl
The images are not displayed.
Using the ubuntu-sdk-15.04.4 framework.
When I add a gallery widget like this (image uris are just examples):
var images = new scopes. lib.PreviewWidg et("images" , "gallery"); add_attribute_ value(" sources" , .../img1. png', .../img2. png'
images.
[
'http://
'http://
]
);
I get this error on console: /usr/share/ unity8/ /Dash/Previews/ PreviewImageGal lery.qml: 131:25: Unable to assign QJSValue to QUrl /usr/share/ unity8/ /Dash/Previews/ PreviewImageGal lery.qml: 62:21: Unable to assign QJSValue to QUrl
file://
file://
The images are not displayed.
Using the ubuntu-sdk-15.04.4 framework.