From 7b489310d13b2c825b1f0df31f945f3b3299767d Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 12 Jun 2015 08:33:51 -0400 Subject: Add a QtQuick sample plugin and disable the new panel container for QtQuick pluins. It appears that there is a fundamental issue with embedding QML objects into a panel/window with the "always on top" flag set - it never finishes painting the QML object and prevents the rest of the panel from being updated as well. --- lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lumina-desktop/desktop-plugins/quickcontainer') diff --git a/lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h b/lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h index a59ed87f..2bde5d54 100644 --- a/lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h +++ b/lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h @@ -22,6 +22,7 @@ public: this->setLayout( new QVBoxLayout()); this->layout()->setContentsMargins(0,0,0,0); container = new QQuickWidget(this); + container->setResizeMode(QQuickWidget::SizeRootObjectToView); this->layout()->addWidget(container); container->setSource(QUrl::fromLocalFile( LUtils::findQuickPluginFile(ID.section("---",0,0)) )); } -- cgit