FormLayout: remove excessive spacing above unlabeled separators
requested to merge ngraham/kirigami:fix-excessive-formlayout-separator-spacing-when-not-a-section-header into master
The clear intention of the code (as even evidenced by a code comment) was to add more spacing above the label of a labeled separator item being used as a section header. But the code was not checking for whether the separator actually had a label, so the extra spacing log was being inappropriately applied to all separator items.
BUG: 462300 FIXED-IN: 5.102
Test Plan
No visual change in the About This System KCM, which does use labeled section headers.
Correct visual change in Notifications KCM:
Before | After |
---|---|
Edited by Nate Graham