Bug 394952

Summary: Fix horizontal text alignment, change text alignment to center.
Product: [Plasma] kdeplasma-addons Reporter: uRohan <navigator.rohan>
Component: systemloadviewerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.12.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: SystemLoadViewer Before
SystemLoadViewer After
As shown on the icon of the "System Load Viewer" widget

Description uRohan 2018-06-02 12:22:19 UTC
Created attachment 113009 [details]
SystemLoadViewer Before

OS: openSUSE Tumbleweed 20180530
KDE Frameworks Version: 5.46.0
Qt Version: 5.10.0
Kernel Version: 4.16.12-1-default
OS Type: 64-bit
Comment 1 uRohan 2018-06-02 12:22:55 UTC
Created attachment 113010 [details]
SystemLoadViewer After
Comment 2 uRohan 2018-06-02 13:13:45 UTC
Reproducible: Always

Steps to Reproduce:
1. Add the System Load Viewer widget to the desktop.
2. Go to the System Load Viewer - Settings - General.
3. Set the widget "Monitor type" to "Bar" or "Circular" or "Compact Bar" display mode.

Actual Results:  
The text ("CPU", "Memory", "Swap", "Cache") is aligned to the right (text-align: right);

Expected Results:  
The text alignment should be by the center (text-align: center).
Comment 3 uRohan 2018-06-03 04:21:33 UTC
*Expected Results:  
The text should have center alignment.
Comment 4 uRohan 2018-06-03 04:34:27 UTC
Created attachment 113026 [details]
As shown on the icon of the "System Load Viewer" widget
Comment 5 David Edmundson 2018-06-03 20:09:41 UTC
Git commit 11e9f3d16c069cc74475d0fd50c73f6bd51805fb by David Edmundson.
Committed on 03/06/2018 at 20:09.
Pushed by davidedmundson into branch 'master'.

Centre align SystemLoadViewer headers

Summary: BUG: 394952

Test Plan: Looked at it

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

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

M  +10   -0    applets/systemloadviewer/package/contents/ui/SystemLoadViewer.qml

https://commits.kde.org/kdeplasma-addons/11e9f3d16c069cc74475d0fd50c73f6bd51805fb