Fix alignment of legacy buttons in their views.
First rough implementation of 'number of <layer> <partType>s'