diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-04 06:52:53 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-04 06:52:53 (GMT) |
commit | b83610a567c031f10d565a64edd4cb8b4d55a53a (patch) | |
tree | 1266fb797c14f71f3c1f3f5f3a227ca101ddec52 /src/declarative | |
parent | ded5e7184b5078864928d670a3b89e0e8aa88dda (diff) | |
download | Qt-b83610a567c031f10d565a64edd4cb8b4d55a53a.zip Qt-b83610a567c031f10d565a64edd4cb8b4d55a53a.tar.gz Qt-b83610a567c031f10d565a64edd4cb8b4d55a53a.tar.bz2 |
Test SizeItemToLoader to SizeLoaderToItem resizeMode change.
Task-number: QT-2376
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicsloader.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsloader.cpp b/src/declarative/graphicsitems/qmlgraphicsloader.cpp index 7cd4d1a..50267fc 100644 --- a/src/declarative/graphicsitems/qmlgraphicsloader.cpp +++ b/src/declarative/graphicsitems/qmlgraphicsloader.cpp @@ -346,6 +346,12 @@ qreal QmlGraphicsLoader::progress() const \o SizeItemToLoader - the item will be sized to the size of the Loader. \endlist + Note that changing from SizeItemToLoader to SizeLoaderToItem + after the component is loaded will not return the item or Loader + to it's original size. This is due to the item size being adjusted + to the Loader size, thereby losing the original size of the item. + Future changes to the item's size will affect the loader, however. + The default resizeMode is SizeLoaderToItem. */ QmlGraphicsLoader::ResizeMode QmlGraphicsLoader::resizeMode() const |