Commit 98cfd75f authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Use PlasmaExtras.PlasmoidHeading in Kickoff

parent b2a8000b
......@@ -118,21 +118,6 @@ Item {
id: header
}
PlasmaCore.SvgItem {
id: headerSeparator
anchors {
top: header.top
horizontalCenter: header.horizontalCenter
}
height: headerSeparatorLine.elementSize("horizontal-line").height
width: root.width - 2 * units.gridUnit
elementId: "horizontal-line"
svg: PlasmaCore.Svg {
id: headerSeparatorLine
imagePath: "widgets/line"
}
}
Item {
id: mainArea
anchors.topMargin: mainTabGroup.state == "top" ? units.smallSpacing : 0
......@@ -209,6 +194,7 @@ Item {
PropertyChanges {
target: header
width: header.implicitWidth
location: PlasmaExtras.PlasmoidHeading.Location.Footer
}
AnchorChanges {
target: mainArea
......@@ -260,6 +246,7 @@ Item {
PropertyChanges {
target: header
height: header.implicitHeight
location: PlasmaExtras.PlasmoidHeading.Location.Footer
}
AnchorChanges {
target: mainArea
......@@ -311,6 +298,7 @@ Item {
PropertyChanges {
target: header
width: header.implicitWidth
location: PlasmaExtras.PlasmoidHeading.Location.Footer
}
AnchorChanges {
target: mainArea
......@@ -362,6 +350,7 @@ Item {
PropertyChanges {
target: header
height: header.implicitHeight
location: PlasmaExtras.PlasmoidHeading.Location.Header
}
AnchorChanges {
target: headerSeparator
......
......@@ -24,7 +24,7 @@ import org.kde.kcoreaddons 1.0 as KCoreAddons
import org.kde.kquickcontrolsaddons 2.0
import QtGraphicalEffects 1.0
Item {
PlasmaExtras.PlasmoidHeading {
id: header
implicitHeight: units.gridUnit * 5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment