diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-02-22 12:16:50 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-22 09:34:41 +0100 |
commit | 3dd45840c881e90904781169bfd546e1f58eac30 (patch) | |
tree | cf74fdb247a56da8381a4e78548174d5bbe01eb1 /doc | |
parent | 136f2352f67eedc12a719aa239594a204c3ee5a7 (diff) |
Positioners cleanup
Use qreal for positions and spacing instead of ints, and make the
positionedItems list take care of filtering out invisible items.
Change-Id: Icad93ad89c848e40a70bd7a9539bd810e27020df
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/whatsnew.qdoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/whatsnew.qdoc b/doc/src/whatsnew.qdoc index 34dfe21be5..88d5e91d76 100644 --- a/doc/src/whatsnew.qdoc +++ b/doc/src/whatsnew.qdoc @@ -109,7 +109,8 @@ Image has two new properties: horizontalAlignment and verticalAlignment. It also fillMode (Image.Pad) that does not transform the image. Setting Image sourceSize.width and sourceSize.height will now fit the image to the size, maintaining aspect. -Grid now has rowSpacing and columnSpacing properties. +Grid now has rowSpacing and columnSpacing properties. Spacing properties on positioners are now real numbers instead +of integers. Positioners now have attached properties that can be used to determine a subitem's location within a container such as Column or Row: Positioner.index, Positioner.isFirstItem, Positioner.isLastItem. |