Commit b5c39f21 authored by Nate Graham's avatar Nate Graham 🔩

[applets/digital-clock] Fix incorrect delegate width binding

Delegates that need to be manually sized can't use "parent:"; you need to
bind to a specific item.
parent 5244e2be
......@@ -81,7 +81,7 @@ ColumnLayout {
delegate: QQC2.CheckDelegate {
id: checkbox
focus: true // keyboard navigation
width: parent.width
width: listView.width
text: !city || city.indexOf("UTC") === 0 ? comment : comment ? i18n("%1, %2 (%3)", city, region, comment) : i18n("%1, %2", city, region)
checked: model.checked
onToggled: {
......
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