Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
For the QQuickView it is currently (officially) only possible to choose between two ResizeModes:
- SizeViewToRootObject
- SizeRootObjectToView
If it is desired to not link the RootObject to the QQuickView, that is not supported.
Currently it seems to be possible by calling
QQuickView::setResizeMode(static_cast<QQuickView::ResizeMode>(-1))
but this is a hack and no nice solution.
I suggest adding a third mode for that. You will only need to add a third value to the enum. Since for the auto-resize functionality it is always checked for equality and never for unequality, as far as I can see, no other code has to be changed.