Arranging items in GridView
I've got some trouble layouting my Grid. I'm taking image filenames from an xml file and arrange them in an Grid. Problem is, that I need to load them into my GridView in columns and not in rows.
- Image 4. Image
- Image 5. Image
- Image 6. ...
Is there some hidden property I'm missing?
How about the "flow":http://doc-snapshot.qt-project.org/4.8/qml-gridview.html#flow-prop property?
I was looking through that doc page several times this morning. I could bet someone just added that entry :)
import QtQuick 1.0
you can use this code to arrange the items column wise.
i just set the "flow" property of grid, as Mr. Ludde said in the comment
[Edit: Added @ tags for code formatting. Please be sure to use them in the future! -- mlong]