Commit d4e250f2 authored by Marco Martin's avatar Marco Martin

clean

parent 2ef0b5e1
......@@ -59,19 +59,13 @@ Item {
Controls.Control {
id: frame
anchors.centerIn: parent
implicitWidth: contentItem.implicitWidth + frameSvg.margins.top + frameSvg.margins.bottom
implicitHeight: contentItem.implicitHeight + frameSvg.margins.top + frameSvg.margins.bottom
implicitWidth: contentItem.implicitWidth
implicitHeight: contentItem.implicitHeight
leftPadding: frameSvg.margins.left
topPadding: frameSvg.margins.top
rightPadding: frameSvg.margins.right
bottomPadding: frameSvg.margins.bottom
background: PlasmaCore.FrameSvgItem {
id: frameSvg
//imagePath: "widgets/background"
anchors.fill: parent
}
leftPadding: 0
topPadding: 0
rightPadding: 0
bottomPadding: 0
// With a mousearea, it will be possible to drag with touch also on empty places
contentItem: MouseArea {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment