aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-09-23 16:13:51 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-26 03:24:42 +0200
commit14228a41471a327f6e600220a795a1c6cb23c2b2 (patch)
treec7c9f127b8dfc9f9e608ab421a692be7896d0c18 /doc/src
parent2790f9b1d5488f7f29903408eaa5d2a6118f55ee (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/src')
-rw-r--r--doc/src/declarative/whatsnew.qdoc1
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.