Commit f4dd16fe authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Remove our own Heading item, just use kirigami's

parent bbf45c19
......@@ -20,7 +20,8 @@ Kirigami.OverlaySheet
enabled: !addonsView.isInstalling
spacing: 5
Heading {
Kirigami.Heading {
level: 3
text: i18n("Addons")
}
......
......@@ -70,7 +70,8 @@ Kirigami.AbstractListItem
RowLayout {
Layout.fillWidth: true
Heading {
Kirigami.Heading {
level: 3
Layout.fillWidth: true
elide: Text.ElideRight
text: delegateArea.application.name
......
......@@ -109,8 +109,8 @@ DiscoverPage {
source: appInfo.application.icon
Layout.alignment: Qt.AlignVCenter
}
Heading {
id: title
Kirigami.Heading {
level: 3
text: appInfo.application.name
maximumLineCount: 1
Layout.fillWidth: true
......@@ -194,7 +194,8 @@ DiscoverPage {
page: appInfo
}
Heading {
Kirigami.Heading {
level: 3
Layout.topMargin: Kirigami.Units.largeSpacing
text: i18n("Description")
Layout.fillWidth: true
......
import QtQuick.Controls 1.1
import org.kde.kirigami 2.0 as Kirigami
Kirigami.Heading {
level: 3
}
......@@ -17,7 +17,7 @@ Kirigami.OverlaySheet
signal accepted()
ColumnLayout {
Heading { text: i18n("Reviewing '%1'", application.name) }
Kirigami.Heading { level: 3; text: i18n("Reviewing '%1'", application.name) }
Label { text: i18n("Rating:") }
Rating {
id: ratingInput
......
......@@ -19,7 +19,6 @@
<file>qml/Information.qml</file>
<file>qml/SourcesPage.qml</file>
<file>qml/ReviewDelegate.qml</file>
<file>qml/Heading.qml</file>
<file>qml/AddSourceDialog.qml</file>
<file>qml/ConditionalLoader.qml</file>
<file>qml/LinkButton.qml</file>
......
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