summaryrefslogtreecommitdiff
path: root/src/layouts/qquickgridlayoutengine_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename properties Layout.{vertical}SizePolicyJan Arve Saether2013-03-221-13/+13
| | | | | | | | | | | | | ..to Layout.fill{Width,Height} This property now takes a bool, which enables you to write Layout.fillWidth: true instead of Layout.horizontalSizePolicy: Layout.Expanding Change-Id: Icf2e0dc4757938489908b8997d6c4e80c8be1c50 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Fix bug with default size policy if not specified.Jan Arve Saether2013-03-121-7/+6
| | | | | | | | | If the item had an attached Layout property, but had no size policy set, the size policy became Fixed for layouts, since it was the default in QQuickLayoutAttached Change-Id: I7e317737498548895561b1953e3ad731101c3e86 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Improvements to effectiveSizeHintsJan Arve Saether2013-03-111-12/+25
| | | | | | | | | - Make sure the implicit minimum size is (0,0) and not (-1,-1) - Avoid potential crash in effectiveSizeHints. - Small readability improvement Change-Id: I0b08020099fd9e32f5d2bec323475c2b134439ec Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Layouts: fix compilation warningsJ-P Nurmi2013-03-111-1/+1
| | | | | Change-Id: Ia6dab83628142363cdbcb6d98562ac7d9f9cfe9f Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* Layouts: Fix compilation warningsCaroline Chao2013-03-071-1/+1
| | | | | Change-Id: I83215dde15aa335925bdb116c24272531345dbe2 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* Change the layout engine of RowLayout and ColumnLayout.Jan Arve Saether2013-03-061-0/+326
It now uses the gridlayoutengine from graphicsview, which also gives us a well tested grid layout engine almost for free. Change-Id: I939ae4d2b321c8079935ff3374e8e5d10d02384b Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>