Commit 23e5aaa3 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/digital-clock] Set a maximum height for the timezone scrollview

Otherwise when there are tons and tons of timezones, the page becomes
scrollable rather than the the Scrollview becoming scrollable.

Fixes a recent regression introduced by

parent 9004b191
......@@ -50,6 +50,10 @@ ColumnLayout {
QQC2.ScrollView {
Layout.fillWidth: true
Layout.fillHeight: true
// Or else the page becomes scrollable when the list has a lot of items,
// rather than the list becoming scrollable, which is what we want
Layout.maximumHeight: timeZonesPage.parent.height - Kirigami.Units.gridUnit * 7
Component.onCompleted: background.visible = true // enable border
// HACK: Hide unnecesary horizontal scrollbar (
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