wrap the details example label+spacer in a container widget

Authored by sitter on Jul 15 2019, 4:52 PM.

Description

wrap the details example label+spacer in a container widget

Summary:
this way we can control both their visibility in a single call. with the
previous code we'd only set the label as hidden and leave a dangling
spacer to mess with the layout.

BUG: 409807

Test Plan:

  • segv dolphin -> report -> layout shows example
  • segv systemsettings5 -> report -> layout shows no example but is correctly spaced

Reviewers: Plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D22485

Details

Committed
sitterJul 20 2019, 10:32 PM
Reviewer
apol
Differential Revision
D22485: wrap the details example label+spacer in a container widget
Parents
R871:1674ed39b6bd: Fix minor typos
Branches
Unknown
Tags
Unknown