mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
clean
This commit is contained in:
parent
2ef0b5e15b
commit
d4e250f25c
1 changed files with 6 additions and 12 deletions
|
|
@ -59,19 +59,13 @@ Item {
|
||||||
Controls.Control {
|
Controls.Control {
|
||||||
id: frame
|
id: frame
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
implicitWidth: contentItem.implicitWidth + frameSvg.margins.top + frameSvg.margins.bottom
|
implicitWidth: contentItem.implicitWidth
|
||||||
implicitHeight: contentItem.implicitHeight + frameSvg.margins.top + frameSvg.margins.bottom
|
implicitHeight: contentItem.implicitHeight
|
||||||
|
|
||||||
leftPadding: frameSvg.margins.left
|
leftPadding: 0
|
||||||
topPadding: frameSvg.margins.top
|
topPadding: 0
|
||||||
rightPadding: frameSvg.margins.right
|
rightPadding: 0
|
||||||
bottomPadding: frameSvg.margins.bottom
|
bottomPadding: 0
|
||||||
|
|
||||||
background: PlasmaCore.FrameSvgItem {
|
|
||||||
id: frameSvg
|
|
||||||
//imagePath: "widgets/background"
|
|
||||||
anchors.fill: parent
|
|
||||||
}
|
|
||||||
|
|
||||||
// With a mousearea, it will be possible to drag with touch also on empty places
|
// With a mousearea, it will be possible to drag with touch also on empty places
|
||||||
contentItem: MouseArea {
|
contentItem: MouseArea {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue