Using spinboxes for numeric types (int and float)