https://bugs.kde.org/show_bug.cgi?id=453797
Arjen Hiemstra <ahiems...@heimr.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/libksysguard/-/commit/c4 | |8aa7edff0a451499415f000cf32 | |a1d503dd956 Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #2 from Arjen Hiemstra <ahiems...@heimr.nl> --- Git commit c48aa7edff0a451499415f000cf32a1d503dd956 by Arjen Hiemstra. Committed on 13/06/2024 at 08:06. Pushed by ahiemstra into branch 'master'. faces/pie: Ensure text doesn't overflow the face This ensures the text for total sensors doesn't overflow the face, using a few tricks. Most prominently, this based hiding/showing decisions on multiples of line height. This makes showing/hiding a little less arbitrary and more based on relevant values. It also enables wrapping to two lines for the primary value display, which will (usually) push the unit symbol to its own line when the face gets very small. Finally, if we determine there is no way to fit the text, we hide it completely rather than letting things overflow. M +1 -1 faces/facepackages/piechart/contents/ui/CompactRepresentation.qml M +3 -2 faces/facepackages/piechart/contents/ui/PieChart.qml M +34 -10 faces/facepackages/piechart/contents/ui/UsedTotalDisplay.qml https://invent.kde.org/plasma/libksysguard/-/commit/c48aa7edff0a451499415f000cf32a1d503dd956 -- You are receiving this mail because: You are watching all bug changes.