The patch fixes some misalignments in the nodes' sockets/options recently introduced in 26d2caee3ba0,
while maintaining the original fix for T92268.
The original fix made the top padding always of the same size; while that works when the first row of the adjacent nodes is
Socket | Socket, it doesn't for other more common cases, like Socket | Node Option, where the text results misaligned.
