Created attachment 163034 [details] Task Manager item on Plasma 6 SUMMARY Items are wider than they need to be STEPS TO REPRODUCE 1. Switch to task manager widget 2. Open a window OBSERVED RESULT Items are wider than they should be. EXPECTED RESULT Items should lesser space SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: git master KDE Frameworks Version: git master Qt Version: 6.6.0
Created attachment 163035 [details] Task Manager item on Plasma 5
Git commit afd25b56bb8aa9ffc902f83dd6d75fec47797527 by Nate Graham, on behalf of Bacteria Dev. Committed on 13/11/2023 at 18:52. Pushed by ngraham into branch 'master'. applets/taskmanager: Reduce width of items when in horizontal panel The width of traditional Task Manager items is more than in Plasma 5 and looks odd. The reason is due to porting away from `PlasmaCore.Theme.mSize(font).width` and using `Kirigami.Units.iconSizes.sizeForLabels` instead. This metric is meant to be used for icon size calculations, so instead let's use `Kirigami.Units.gridUnit` according to the porting guide. M +1 -1 applets/taskmanager/package/contents/ui/code/layout.js https://invent.kde.org/plasma/plasma-desktop/-/commit/afd25b56bb8aa9ffc902f83dd6d75fec47797527