[kcmkwin/kwinrules] Port OverlaySheet headers to use title: property
This was added to Kirigami in https://invent.kde.org/frameworks/kirigami/-/merge_requests/314 and simplifies and standardizes the creation of simple text-based headers in OverlaySheet. This commit ports the KWin Rules KCM to use it.
This commit is contained in:
parent
beedf2be71
commit
9f00c29c67
1 changed files with 5 additions and 6 deletions
|
@ -143,9 +143,9 @@ ScrollViewKCM {
|
|||
|
||||
Kirigami.OverlaySheet {
|
||||
id: errorSheet
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Error")
|
||||
}
|
||||
|
||||
title: i18n("Error")
|
||||
|
||||
Kirigami.Heading {
|
||||
id: errorLabel
|
||||
level: 3
|
||||
|
@ -159,9 +159,8 @@ ScrollViewKCM {
|
|||
|
||||
parent: view
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Add property to the rule")
|
||||
}
|
||||
title: i18n("Add property to the rule")
|
||||
|
||||
footer: Kirigami.SearchField {
|
||||
id: searchField
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
|
|
Loading…
Reference in a new issue