Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaked minimal slider magic numbers again so maximum value can be re…
…ached (bug #24531) There seems to possibly be an internal issue with the slider (and more generally, the scrollbar implementation form which it inherits) where is min/maximum_positioner_length equal an even number, sliders with an even number of options will reach max value. Setting it to what, in this case is 1 below the actual width of the slider image (15) means both even and odd-numbered sliders will reach max value, however the edge is cut off. Attempting to set the right_offset to 1 and using the above off value for the positioned width means only sliders with an odd number of options reach max value. The magic numbers in this commit seem to give the widget enough space to reach the end of the slider and max values regardless of the number of options, but the internal widget dimension calculation should perhaps be investigated in the future.
- Loading branch information