add the center indicator

wilder-5.14
Marco Martin 13 years ago
parent 220c9e1dbf
commit 30b76c903b
  1. 9
      qmlpackages/desktop/contents/configuration/panelconfiguration/Ruler.qml

@ -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…
Cancel
Save