diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-20 00:28:10 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-12-20 16:55:17 +0100 |
commit | 6e46fd6f1fd840ef6666d6f8293b369d154a3d98 (patch) | |
tree | 89257eef68d831fb99ac783c8aa57d2e9413d448 /AffinityPanel.c | |
parent | 22da57d621f043d44940db677d46d5282330a263 (diff) |
BarMeter: rework text padding
In case the text is too long for the bar, try to fit by truncating at a
space character.
E.g.
[|24.1% 2000Mhz 40°C]
[24.1% 2000Mhz 40°C]
[||||24.1% 2000Mhz]
[|||24.1% 2000Mhz]
[||24.1% 2000Mhz]
[|24.1% 2000Mhz]
[24.1% 2000Mhz]
[|||| 24.1%]
[|||| 24.1%]
[|||| 24.1%]
[||||24.1%]
[|||24.1%]
[||24.1%]
[|24.1%]
[24.1%]
[24.1]
[24.]
[24]
[2]
Diffstat (limited to 'AffinityPanel.c')
0 files changed, 0 insertions, 0 deletions