diff options
author | Ken Moore <moorekou@gmail.com> | 2015-07-10 02:35:11 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-07-10 02:35:11 -0400 |
commit | fb8955c15a73911e53fdf1e7a7ada2630272ffd5 (patch) | |
tree | e73df3ba004f52539be9f57758123309d1764f3c /lumina-desktop/desktop-plugins/quickcontainer | |
parent | Update lumina-config to list all desktop plugins on the screen, and only make... (diff) | |
download | lumina-fb8955c15a73911e53fdf1e7a7ada2630272ffd5.tar.gz lumina-fb8955c15a73911e53fdf1e7a7ada2630272ffd5.tar.bz2 lumina-fb8955c15a73911e53fdf1e7a7ada2630272ffd5.zip |
Ok, NOW the desktop plugins layout methodology is consistent/reliable. Had to implement my own tiling algorithm for initial plugin placements (and adjust a lot of the plugins to have better auto-set default sizes depending on font settings)
Diffstat (limited to 'lumina-desktop/desktop-plugins/quickcontainer')
-rw-r--r-- | lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h | 1 |
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 2bde5d54..3a14b26c 100644 --- a/lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h +++ b/lumina-desktop/desktop-plugins/quickcontainer/QuickDPlugin.h @@ -25,6 +25,7 @@ public: container->setResizeMode(QQuickWidget::SizeRootObjectToView); this->layout()->addWidget(container); container->setSource(QUrl::fromLocalFile( LUtils::findQuickPluginFile(ID.section("---",0,0)) )); + this->setInitialSize(container->initialSize().width(), container->initialSize().height()); } ~QuickDPlugin(){} |