Add --resize-to-root option, sets ResizeViewToRootObject on the qmlscene view.
authorRobin Burchell <robin+qt@viroteck.net>
Fri, 25 May 2012 13:30:47 +0000 (15:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 28 May 2012 02:07:35 +0000 (04:07 +0200)
commit4d9bc3bb6a3b500013a569267dcdbd423ee50ac2
treed2248020fdc5635fc8c38a3e1ea26e2717d89e32
parentf62ab0a3dfaa873bb15cd1526f98f50a17228a9c
Add --resize-to-root option, sets ResizeViewToRootObject on the qmlscene view.

Sometimes it is useful to be able to resize a view from within QML, for example,
when writing QML which must operate in both portrait and landscape conditions.

Change-Id: I10564bb3c8661fae6c1d175985268a409dc3dafd
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
tools/qmlscene/main.cpp