spinboxes and the legend