changed DimensionsPanel to use spinners instead of textfields