[03:01] So my MainView is resized from the code, but the window itself does not resize along with it, how do I change that? https://i.imgur.com/WFDvag6.png is an example of the MainView being smaller than the window === McIntire1van is now known as McIntireEvan === chihchun_afk is now known as chihchun [13:36] hi [13:37] appdevs, I seem to be missing something but can't figure myself atm... I am on xenial on ubuntu desktop and want to install some of the core apps [13:38] but it seems like we aren't building them for xenial [14:44] olli, Yeah alot of them need updating in the core apps ppa. dpm has a ppa though with a few packaged for xenial https://launchpad.net/~dpm/+archive/ubuntu/ppa?field.series_filter=xenial [14:47] McIntireEvan, did you figure out your MainView/Window resize issue? [20:17] DanChapman: Nope, not yet [20:20] McIntireEvan, you need to wrap the MainView in a QQuickWindow http://doc.qt.io/qt-5/qml-qtquick-window-window.html You will then be able to set the window sizes. MainView just inherits from Item so the QQuickView automagically places it in a Window at run time. [20:22] McIntireEvan, here's an example http://bazaar.launchpad.net/~mzanetti/machines-vs-machines/trunk/view/head:/app/machines-vs-machines.qml [20:46] DanChapman: Thanks, that makes a lot of sense! I tried it, and i had a few difficulties due to the fact that in the C++ that loads everything it is defined a s a QQuickView, but looking a tthe docs I found ResizeMode, would setting it to QQuickView::SizeRootObjectToView instead of wrapping the whole thing in a window do what I want? [20:52] DanChapman: Blah, scratch that, it already has that option set [20:58] DanChapman: Turns out setting it to QQuickView::SizeViewToRootObject makes it work perfectly :) Thanks for the help, it at least pointed me in the right direction and got me looking at some different code