Add support for individual row and column spacing to Grid object.
authorGlenn Watson <glenn.watson@nokia.com>
Wed, 10 Aug 2011 03:51:32 +0000 (13:51 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 10 Aug 2011 05:34:18 +0000 (07:34 +0200)
commit2601011f1c0168f080c488be09c888042812f7cb
tree0750fe5651ded96b5a473acd067b2156e0c77dee
parent108c94807a22740d0ecae369846063b4596d3788
Add support for individual row and column spacing to Grid object.

Add rowSpacing and columnSpacing properties to QML Grid object. If
these are specified, use them when laying out the grid. If they are
not specified, default to using the spacing property that was
previously used, so it is backwards compatible.

Task-number: QTBUG-11876
Change-Id: I5c809e89fe124d8d5ea1667b273f19e2c37ff18a
Reviewed-on: http://codereview.qt.nokia.com/2797
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bea Lam <bea.lam@nokia.com>
doc/src/declarative/whatsnew.qdoc
src/declarative/items/qsgpositioners.cpp
src/declarative/items/qsgpositioners_p.h
tests/auto/declarative/qsgpositioners/data/grid-row-column-spacing.qml [new file with mode: 0644]
tests/auto/declarative/qsgpositioners/tst_qsgpositioners.cpp