Bug 344207 - Headings of performance/load widgets uses way more vertical space than needed
Summary: Headings of performance/load widgets uses way more vertical space than needed
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-15 20:51 UTC by Elias Probst
Modified: 2015-02-16 10:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing layout issues of performance/load widgets (155.70 KB, image/png)
2015-02-15 20:51 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
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