Bug 344207

Summary: Headings of performance/load widgets uses way more vertical space than needed
Product: [Plasma] plasmashell Reporter: Elias Probst <mail>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: bshah, kde
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing layout issues of performance/load widgets

Description Elias Probst 2015-02-15 20:51:47 UTC
Created attachment 91098 [details]
Screenshot showing layout issues of performance/load widgets

The headings of the performance/load widgets uses way more space then it actually needs.
This results in:
- relatively small graph area in case there's only 1 resource monitored
- total layout screwup when placing widgets in a vertical panel

See the attached screenshot for some more details:

# Placed on desktop containment:
- "Hard Disk I/O Monitor" leaves quite a bit of whitespace above + below the graph (same for "CPU Load Monitor", "Memory Status", which all have just 1 resource configured)

# Placed in vertical panel:
- The space consumption of the heading is completely out of control. The heading seems to take the same amount of space (or even more) as the graph itself - leaving a huge amount of whitespace and making it impossible to resemble the "Desktop Containment setup" (shown on the left) in a vertical panel.


Running:
- Qt 5.4.0
- KF5/Plasma 5 from git master (all components up-to-date)
Comment 1 Kai Uwe Broulik 2015-02-16 10:22:45 UTC
Git commit 7561fadf3a2e67cb7c0bb50b1717ba7f42630935 by Kai Uwe Broulik.
Committed on 16/02/2015 at 10:21.
Pushed by broulik into branch 'master'.

Prevent heading in systemmonitor from expanding

Just put the heading outside the ColumnLayout to prevent it from ever expanding

REVIEW: 122583

M  +13   -6    applets/systemmonitor/common/contents/ui/Applet.qml

http://commits.kde.org/plasma-workspace/7561fadf3a2e67cb7c0bb50b1717ba7f42630935