Commit 97320f2f authored by Nate Graham's avatar Nate Graham
Browse files

[applets/digitalclock] Let long timezones list scroll

When the agenda view is visible, the scrollview had neither
fillHeight: true nor a maximum height set. As a result, it would never
scroll. This commit fixes that by setting a maximum height.

BUG: 439147
FIXED-IN: 5.22.5

(cherry picked from commit f40bbbff)
parent f32b3221
......@@ -546,10 +546,13 @@ PlasmaExtras.Representation {
Layout.fillWidth: true
Layout.fillHeight: !agenda.visible
Layout.minimumHeight: visible ? PlasmaCore.Units.gridUnit * 7 : 0
Layout.maximumHeight: agenda.visible ? PlasmaCore.Units.gridUnit * 10 : undefined
ListView {
id: clocksList
width: parent.width
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: PlasmaCore.Units.smallSpacing * 2
highlight: Item {}
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