Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43391

QtWebView always fullscreen

    XMLWordPrintable

Details

    • Android

    Description

      QtWebView always launches fullscreen. Even if used with a QQuickWidget, it overrides the limits.

          webview = new QQuickWidget();
          QGridLayout *layout = new QGridLayout;
          layout->addWidget(webview);
          webview->setSource(QUrl("qrc:/webview.qml"));
          webview->setResizeMode(QQuickWidget::SizeViewToRootObject);
          ui->groupBox->setLayout(layout);
          webview->show();
      
      import QtQuick 2.2
      import QtQuick.Controls 1.1
      import QtWebView 1.0
      import QtQuick.Layouts 1.1
      
      Rectangle {
          width: 2000
          height: 2000
          WebView {
              anchors.fill: parent
              id: webView
              url: "http://qt.io"
          }
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-43391
        # Subject Branch Project Status CR V

        Activity

          People

            stromme Christian
            dominik_fehr Dominik Fehr
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes