~daker/ubuntu-html5-theme/fix.1243396

« back to all changes in this revision

Viewing changes to src/ubuntu-html5-app-launcher/main.cpp

  • Committer: CI bot
  • Author(s): Alexandre Abreu
  • Date: 2014-02-18 17:23:47 UTC
  • mfrom: (139.2.1 webview-parent-resize)
  • Revision ID: ps-jenkins@lists.canonical.com-20140218172347-5bxgayg6r56dbnta
Resize the root object to the view Fixes: 1279932, 1280609

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
    view.rootObject()->setProperty("htmlIndexDirectory", wwwFolder.canonicalFilePath());
199
199
 
200
200
    view.setTitle(QCoreApplication::applicationName());
 
201
    view.setResizeMode(QQuickView::SizeRootObjectToView);
201
202
 
202
203
    if (maximized)
203
204
        view.showMaximized();