Apply suggestions from code review

Applied code review comments

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Jelle Spijker 2021-11-03 17:58:16 +01:00 committed by GitHub
parent e7aecb6c06
commit 3a94fc0ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 6 deletions

View file

@ -25,11 +25,10 @@ ScrollView
spacing: UM.Theme.getSize("default_margin").height
section.property: "package.sectionTitle"
section.criteria: ViewSection.FullString
section.delegate: Rectangle
{
width: packagesListview.width
height: sectionHeaderText.implicitHeight + UM.Theme.getSize("default_margin").height
height: sectionHeaderText.height + UM.Theme.getSize("default_margin").height
color: UM.Theme.getColor("detail_background")