1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

set resizeMode for QQuickWidget in sidebar

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D15886
This commit is contained in:
Anmol Gautam 2018-10-02 03:01:01 +05:30
parent 853baa8232
commit 011df43851

View File

@ -153,6 +153,7 @@ QWidget *QmlSideBarHelper::createSideBarWidget(BrowserWindow *mainWindow)
QQuickWidget *widget = new QQuickWidget();
widget->setContent(m_item->url(), m_item, m_item->create(m_item->creationContext()));
widget->setResizeMode(QQuickWidget::SizeRootObjectToView);
return widget;
}