Commit b453e5b7 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/digital-clock] Port delegates to reserveSpaceForSubtitle

Just added in Kirigami 5.79, which makes the manual sizing hack
parent 1419c48b
......@@ -67,8 +67,6 @@ ColumnLayout {
delegate: Kirigami.BasicListItem {
id: timeZoneListItem
property bool isCurrent: plasmoid.configuration.lastSelectedTimezone === model.timeZoneId
// Otherwise the list item changes height when its subtitles appears
implicitHeight: Math.round(Kirigami.Units.gridUnit * 2.5)
bold: isCurrent
......@@ -77,6 +75,7 @@ ColumnLayout {
activeBackgroundColor: "transparent"
activeTextColor: Kirigami.Theme.textColor
reserveSpaceForSubtitle: true
// FIXME: this should have already evaluated to false because
// the list item doesn't have an icon
reserveSpaceForIcon: false
Supports Markdown
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