Fix reordering tabs in tree
Spaces between items depend on item font size

Item spacing is pixel-independent and can be set in theme using
"item_spacing" option.