diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-21 05:45:24 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-21 05:51:46 (GMT) |
commit | 6abe7f1ef6021a1174d88d1a2811c58241a96707 (patch) | |
tree | 5c88c576be8d97468402dacf45de94044972cc44 /demos | |
parent | f2a7506e71125676303042388bdeca94b2677292 (diff) | |
download | Qt-6abe7f1ef6021a1174d88d1a2811c58241a96707.zip Qt-6abe7f1ef6021a1174d88d1a2811c58241a96707.tar.gz Qt-6abe7f1ef6021a1174d88d1a2811c58241a96707.tar.bz2 |
Balance grid items for larger displays.
Task-number: QTBUG-8406
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/flickr/flickr.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/declarative/flickr/flickr.qml b/demos/declarative/flickr/flickr.qml index ed88cf6..8b73beb 100644 --- a/demos/declarative/flickr/flickr.qml +++ b/demos/declarative/flickr/flickr.qml @@ -21,8 +21,9 @@ Item { Mobile.GridDelegate { id: gridDelegate } GridView { + x: (width/4-79)/2; y: x id: photoGridView; model: rssModel; delegate: gridDelegate; cacheBuffer: 100 - cellWidth: 79; cellHeight: 79; width: parent.width; height: parent.height - 1; z: 6 + cellWidth: (parent.width-2)/4; cellHeight: cellWidth; width: parent.width; height: parent.height - 1; z: 6 } Mobile.ListDelegate { id: listDelegate } |