11-19-2012 11:22 AM
I am using the RemoteImageView custom component shown here to download pictures.
How do i use the component properly in QML?
I use this code in a loop to create a couple of RemoteImageViews:
var imageView = remoteImageView.createObject(mainContainer); imageView.url = "urltopicture" mainContainer.add(imageView);
The component works fine, but all images are layered upon eachother.
I would like to have a layout that adds them next to eachother, in the end using them as buttons.
Solved! Go to Solution.
11-19-2012 11:40 AM
11-19-2012 12:21 PM
11-19-2012 01:01 PM
11-20-2012 04:40 AM
11-20-2012 07:30 AM
Try a FlowListLayoutProperties
11-20-2012 09:15 AM
Dredvard wrote:
Try a FlowListLayoutProperties
But isn't that only used for ListViews?
11-20-2012 09:57 AM
My mistake. I had assumed you were doing a listview.
Actually I'm intending on doing the same thing - just the container size being dependant on the screen orientation.
Thats's the only api I'm aware that does that function. I wonder as a workaround if you could just add your images to the listview in the container and have it automatically move the items to fit the area.
11-20-2012 10:00 AM