Sets the new maximum value and bar lenght of the slider. Position is kept or lowered if maximum is reached.
See Implementation
Sets the new maximum value and bar lenght of the slider. Position is kept or lowered if maximum is reached.