mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 22:33: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 {
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue