diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-09-23 16:13:51 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-26 03:24:42 +0200 |
commit | 14228a41471a327f6e600220a795a1c6cb23c2b2 (patch) | |
tree | c7c9f127b8dfc9f9e608ab421a692be7896d0c18 /doc | |
parent | 2790f9b1d5488f7f29903408eaa5d2a6118f55ee (diff) |
Support margins in Flickable.
It is sometimes desireable to leave a margin/add decoration around the
content of a Flickable. This adds topMargin, leftMargin, bottomMargin
rightMargin, xOrigin and yOrigin properties to Flickable.
Task-number: QTBUG-21362
Change-Id: Ia24ea4c63e7a8de683b68100baac782c6f3a66bb
Reviewed-on: http://codereview.qt-project.org/5445
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/whatsnew.qdoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc index da001605b3..ea575a67b0 100644 --- a/doc/src/declarative/whatsnew.qdoc +++ b/doc/src/declarative/whatsnew.qdoc @@ -94,6 +94,7 @@ The Binding element can now be used as a value source, and will also restore any set binding when its \e when clause becomes false. Flickable: added dragging, draggingHorizontally and draggingVerically properties. +Added topMargin, bottomMargin, leftMargin, rightMargin, xOrigin, yOrigin properties. Image has two new properties: horizontalAlignment and verticalAlignment. It also has a new value for fillMode (Image.Pad) that does not transform the image. |