change ApplicationWindow size on Android
Solved
Mobile and Embedded
-
@morte
what should be the purpose of such a feature?! o.O
If you want a smaller root item simply insert such a container item. -
@morte said in change ApplicationWindow size on Android:
I'm wondering is there way to change size of ApplicationWindow (QML) on Android? Looks like it bound somehow to Screen dimensions and changing height or maximumHeight properties don't make any effect.
no, simply because Android does not have a WindowManager-system. Therefore the root item is shown in "fullscreen".
you'll have to make a "2nd root-item" where you manually control width and height.
-
@raven-worx purpose - reserve some space for banner, for example
-
ApplicationWindow { Item { id: banner x: 0; y: 0 width: parent width; height: 50 } Item { id: content width: parent.width anchors { top: banner.bottom bottom: parent.bottom } } }