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:
parent
853baa8232
commit
011df43851
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user