Set snapToTicks property.
Whether erroneous values are automatically changed to the spin buttons nearest step increment.
Builder instance for fluent chaining
Set snapToTicks property.