proper borders

This commit is contained in:
Marco Martin 2012-02-28 15:23:47 +01:00
parent db4d97ff86
commit 6d9f9afcad
2 changed files with 9 additions and 2 deletions

View File

@ -30,7 +30,7 @@ FullScreenSheet::FullScreenSheet(QDeclarativeItem *parent)
{
init("Sheet");
view()->setGeometry(QApplication::desktop()->availableGeometry().adjusted(50, 50, 0, 50));
view()->setGeometry(QApplication::desktop()->availableGeometry());
if (mainItem()) {
connect(mainItem(), SIGNAL(acceptButtonChanged()),

View File

@ -114,8 +114,15 @@ Item {
PlasmaCore.FrameSvgItem {
id: dialog
anchors.fill: parent
anchors {
fill: parent
leftMargin: 50
topMargin: 50
rightMargin: 50
bottomMargin: 0
}
imagePath: "dialogs/background"
enabledBorders: "LeftBorder|TopBorder|RightBorder"
state: "closed"