Commit eb91f8e9 authored by Nate Graham's avatar Nate Graham 🔩

Port to use level 1 Heading instead of Title

`PlasmaExtras.Title` is literally identical to a level 1 Heading. Let's port to that
so we have less code to maintain and fewer things to change the next time we want to
adjust the look of titles

Test Plan: No visual changes

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 6d3d3ffa
......@@ -62,11 +62,12 @@ Item {
Item {
PlasmaExtras.Title {
PlasmaExtras.Heading {
id: heading
anchors.fill: parent
level: 1
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Activities")
elide: Text.ElideRight
......@@ -210,9 +210,10 @@ Item {
id: header
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
PlasmaExtras.Title {
PlasmaExtras.Heading {
id: heading
anchors.verticalCenter: parent.verticalCenter
level: 1
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Widgets")
width: parent.width
elide: Text.ElideRight
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