add the center indicator
This commit is contained in:
parent
b57d9e02c0
commit
da59b50ce7
@ -51,6 +51,15 @@ PlasmaCore.FrameSvgItem {
|
||||
id: containmentControlsSvg
|
||||
imagePath: "widgets/containment-controls"
|
||||
}
|
||||
PlasmaCore.SvgItem {
|
||||
id: centerMark
|
||||
svg: containmentControlsSvg
|
||||
elementId: dialogRoot.vertical ? "vertical-centerindicator" : "horizontal-centerindicator"
|
||||
visible: panel.alignment == Qt.AlignCenter
|
||||
width: dialogRoot.vertical ? parent.width : naturalSize.width
|
||||
height: dialogRoot.vertical ? naturalSize.height : parent.height
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
|
||||
SliderHandle {
|
||||
id: offsetHandle
|
||||
|
Loading…
x
Reference in New Issue
Block a user