applets/activitybar: fix layout on narrow panels

Reason for the change

The PlasmaComponents TabBar bases its size hints on top of margins coming from the Svg theme, and this is fine when is the tabbar that specifies the size of its layout, such as in kickoff or in the calendar, where it has space to become as tall as it wants. activitybar which is in the panel it might be constrained to an height much smaller that that and is the panel dictating its height, not the other way around. In this case the layouting breaks in 2 paces: the top/bottom padding needs to become much smaller, otherwise the text gets pushed out og the way. the other thing pushing the text out of the way is the internal layouting code of the TabBar template which attempts to center vertically things based on a contentHeight which might not be correct, since we use a ListView instead of a simple layout for the buttons

Test plan

Now the panel can be resize to be very narrow and the text will always be properly centered

Screenshots or screen recordings

Before After
image image

Bugs fixed

BUG:518451

Merge request reports

Loading
Loading