diff --git a/declarativeimports/plasmacomponents/fullscreensheet.cpp b/declarativeimports/plasmacomponents/fullscreensheet.cpp index 91eb82786..5210a8330 100644 --- a/declarativeimports/plasmacomponents/fullscreensheet.cpp +++ b/declarativeimports/plasmacomponents/fullscreensheet.cpp @@ -19,6 +19,10 @@ #include "fullscreensheet.h" +#include +#include +#include + #include FullScreenSheet::FullScreenSheet(QDeclarativeItem *parent) @@ -26,6 +30,8 @@ FullScreenSheet::FullScreenSheet(QDeclarativeItem *parent) { init("Sheet"); + view()->setGeometry(QApplication::desktop()->availableGeometry().adjusted(50, 50, 0, 50)); + if (mainItem()) { connect(mainItem(), SIGNAL(acceptButtonChanged()), this, SIGNAL(acceptButtonChanged())); diff --git a/declarativeimports/plasmacomponents/fullscreenwindow.cpp b/declarativeimports/plasmacomponents/fullscreenwindow.cpp index f1fa80ae5..062b21380 100644 --- a/declarativeimports/plasmacomponents/fullscreenwindow.cpp +++ b/declarativeimports/plasmacomponents/fullscreenwindow.cpp @@ -296,6 +296,7 @@ QGraphicsView *FullScreenWindow::view() const return m_view; } + QDeclarativeListProperty FullScreenWindow::title() { if (m_rootObject) {