GridView && horizontal scroll [Solved]
Hi all,
I have a GridView in my QML project.
The GridView is populated by a query model.
The grid has a fixed size and there are a lot of element so I need to scroll down and right.
The problem is that I can scroll down with mouse but not left-right.
This is my qml file:
- import QtQuick 1.0
- import Qt 4.7
- Rectangle {
- // color: "lightblue"
- width: 600; height: 600
- Component {
- id: name_delegate
- Text {
- text: display
- }
- }
- GridView {
- cellWidth: 80; cellHeight: 80
- anchors.margins: 10
- anchors.fill: parent
- model: queryModel
- delegate: name_delegate
- }
- }
Is it possible?
2 replies
You must log in to post a reply. Not a member yet? Register here!




