[03:01] <McIntire1van> 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
[13:36] <olli> hi
[13:37] <olli> 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] <olli> but it seems like we aren't building them for xenial
[14:44] <DanChapman> 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] <DanChapman> McIntireEvan, did you figure out your MainView/Window resize issue?
[20:17] <McIntireEvan> DanChapman: Nope, not yet
[20:20] <DanChapman> 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] <DanChapman> McIntireEvan, here's an example http://bazaar.launchpad.net/~mzanetti/machines-vs-machines/trunk/view/head:/app/machines-vs-machines.qml
[20:46] <McIntireEvan> 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] <McIntireEvan> DanChapman: Blah, scratch that, it already has that option set
[20:58] <McIntireEvan> 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