proper borders
This commit is contained in:
parent
db4d97ff86
commit
6d9f9afcad
@ -30,7 +30,7 @@ FullScreenSheet::FullScreenSheet(QDeclarativeItem *parent)
|
|||||||
{
|
{
|
||||||
init("Sheet");
|
init("Sheet");
|
||||||
|
|
||||||
view()->setGeometry(QApplication::desktop()->availableGeometry().adjusted(50, 50, 0, 50));
|
view()->setGeometry(QApplication::desktop()->availableGeometry());
|
||||||
|
|
||||||
if (mainItem()) {
|
if (mainItem()) {
|
||||||
connect(mainItem(), SIGNAL(acceptButtonChanged()),
|
connect(mainItem(), SIGNAL(acceptButtonChanged()),
|
||||||
|
@ -114,8 +114,15 @@ Item {
|
|||||||
|
|
||||||
PlasmaCore.FrameSvgItem {
|
PlasmaCore.FrameSvgItem {
|
||||||
id: dialog
|
id: dialog
|
||||||
anchors.fill: parent
|
anchors {
|
||||||
|
fill: parent
|
||||||
|
leftMargin: 50
|
||||||
|
topMargin: 50
|
||||||
|
rightMargin: 50
|
||||||
|
bottomMargin: 0
|
||||||
|
}
|
||||||
imagePath: "dialogs/background"
|
imagePath: "dialogs/background"
|
||||||
|
enabledBorders: "LeftBorder|TopBorder|RightBorder"
|
||||||
|
|
||||||
state: "closed"
|
state: "closed"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user