Commit 6d268716 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Sources: Give a minimum size to section headers

Otherwise they confuse ListView and it looks like a mess.

BUG: 434349


(cherry picked from commit edbad4ed)
parent 4ec83193
Pipeline #209681 passed with stage
in 1 minute and 4 seconds
......@@ -34,6 +34,7 @@ DiscoverPage {
section.property: "sourceName"
section.delegate: Kirigami.ListSectionHeader {
id: backendItem
height: Math.max(Kirigami.Units.gridUnit * 2.5, contentItem.height)
readonly property QtObject backend: SourcesModel.sourcesBackendByName(section)
readonly property QtObject resourcesBackend: backend.resourcesBackend
......
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