29 lines
624 B
Plaintext
29 lines
624 B
Plaintext
|
|
import QtQuick
|
||
|
|
import QtQuick.Shapes
|
||
|
|
import Quickshell
|
||
|
|
|
||
|
|
Item {
|
||
|
|
id: root
|
||
|
|
property var paddingWidth
|
||
|
|
property color paddingColor
|
||
|
|
Shape {
|
||
|
|
ShapePath {
|
||
|
|
id: leftPadding
|
||
|
|
fillColor: root.paddingColor
|
||
|
|
startX: root.paddingWidth
|
||
|
|
startY: root.paddingWidth
|
||
|
|
strokeWidth: root.paddingWidth * 2
|
||
|
|
strokeColor: root.paddingColor
|
||
|
|
PathLine {
|
||
|
|
x: 0 + root.paddingWidth
|
||
|
|
y: 1200
|
||
|
|
}
|
||
|
|
|
||
|
|
PathLine {
|
||
|
|
relativeY: 0
|
||
|
|
relativeX: 1900
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|