diff options
author | mae <qt-info@nokia.com> | 2010-05-03 17:44:52 (GMT) |
---|---|---|
committer | mae <qt-info@nokia.com> | 2010-05-03 18:45:46 (GMT) |
commit | e0c8fc977738ca4ac6d31e45bdd2aa1b32828f54 (patch) | |
tree | a3265117e7ad1638fa4b33a2876b5dc37215d0f0 /examples | |
parent | 6103c282707bac2d585473d45900d69d475cf0c2 (diff) | |
download | Qt-e0c8fc977738ca4ac6d31e45bdd2aa1b32828f54.zip Qt-e0c8fc977738ca4ac6d31e45bdd2aa1b32828f54.tar.gz Qt-e0c8fc977738ca4ac6d31e45bdd2aa1b32828f54.tar.bz2 |
Remove QDeclarativeLoader::resizeMode
The explicit resizeMode is superfluous, all usecases could be achieved
with the corrected default behaviour of the former ResizeLoaderToItem
mode. The NoResize usecase is covered by wrapping the loader in an extra
item.
That means: A loader automatically gets its size from the item loaded
unless the loader has an explicit size itself.
Go-ahead-by: Michael Brasser
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/parallax/parallax.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/parallax/parallax.qml b/examples/declarative/parallax/parallax.qml index cb0437d..ca00176 100644 --- a/examples/declarative/parallax/parallax.qml +++ b/examples/declarative/parallax/parallax.qml @@ -31,7 +31,7 @@ Rectangle { Loader { anchors { top: parent.top; topMargin: 10; horizontalCenter: parent.horizontalCenter } width: 300; height: 400 - clip: true; resizeMode: Loader.SizeItemToLoader + clip: true; source: "../../../demos/declarative/samegame/samegame.qml" } } |