When the taskbar-height is smaal enough the text is cut off at the bottom. The icon size is also to tiny. (horizontal mode)
Steps to Reproduce:
1. Resize to a smaler size than default minimum
The text is cut off at the bottom and the icon is almost unvisible
As long as the text would fit, the margins at the top and bottom shrink. And the icon would not be shrunk so much.
Created attachment 80891 [details]
Patch to fix text being cut off
Attached patch vertical-centers the text in the task item and removes the top/bottom margins around the icon if the height is smaler than "theme.smallIconSize"
Created attachment 80893 [details]
Patch to fix text being cut off at the bottom
The previous patch was a little too agressive on removing margins
Kåre, thanks for the patch! Could you put it on https://git.reviewboard.kde.org/ please? Otherwise it might get lost.
*** This bug has been marked as a duplicate of bug 314879 ***