Bug 394952 - Fix horizontal text alignment, change text alignment to center.
Summary: Fix horizontal text alignment, change text alignment to center.
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: systemloadviewer (show other bugs)
Version: 5.12.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-02 12:22 UTC by uRohan
Modified: 2018-06-03 20:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
SystemLoadViewer Before (22.80 KB, image/png)
2018-06-02 12:22 UTC, uRohan
Details
SystemLoadViewer After (8.95 KB, image/png)
2018-06-02 12:22 UTC, uRohan
Details
As shown on the icon of the "System Load Viewer" widget (4.66 KB, image/png)
2018-06-03 04:34 UTC, uRohan
Details

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