aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/quickcontainer
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-06-12 08:33:51 -0400
committerKen Moore <ken@pcbsd.org>2015-06-12 08:33:51 -0400
commit7b489310d13b2c825b1f0df31f945f3b3299767d (patch)
tree8501afa59ee50c31898f1d67ee37ec2a221ee9b6 /lumina-desktop/desktop-plugins/quickcontainer
parentOops, fix a typo where the accent color was still being used for the highligh... (diff)
downloadlumina-7b489310d13b2c825b1f0df31f945f3b3299767d.tar.gz
lumina-7b489310d13b2c825b1f0df31f945f3b3299767d.tar.bz2
lumina-7b489310d13b2c825b1f0df31f945f3b3299767d.zip
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.
Diffstat (limited to 'lumina-desktop/desktop-plugins/quickcontainer')
-rw-r--r--lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h1
1 files changed, 1 insertions, 0 deletions
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)) ));
}
bgstack15