Allow aligning items in a grid
authorFabian Bumberger <fbumberger@rim.com>
Mon, 14 Jan 2013 14:00:41 +0000 (15:00 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 28 Jan 2013 19:42:48 +0000 (20:42 +0100)
commit233e83b20512a5e3748542f1c279a5c7ec6310ad
treee8b900290c08f708753e08f3f9d356f65d07f7e5
parent8b62bb86cd94287a29fd1474efe04822523600df
Allow aligning items in a grid

This change introduces two new properties, horizontalItemAlignment and verticalItemAlignment to a
Grid element. This gives the user the possibility to align the items.

Change-Id: I7322a689f1bbc1da342bd618f6c30dd8c139ee29
Reviewed-by: Alan Alpert <aalpert@rim.com>
src/quick/doc/images/gridLayout_aligncenter.png [new file with mode: 0644]
src/quick/doc/images/gridLayout_aligntop.png [new file with mode: 0644]
src/quick/doc/images/gridLayout_aligntopleft.png [new file with mode: 0644]
src/quick/items/qquickitemsmodule.cpp
src/quick/items/qquickpositioners.cpp
src/quick/items/qquickpositioners_p.h
tests/auto/quick/qquickpositioners/data/gridtest.qml
tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp