Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider: Fix step property docs #7305

Merged
merged 2 commits into from
Jan 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions kivy/uix/slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,13 @@ class Slider(Widget):
.. versionadded:: 1.4.0

Determines the size of each interval or step the slider takes between
min and max. If the value range can't be evenly divisible by step the
last step will be capped by slider.max
:attr:`min` and :attr:`max`. If the value range can't be evenly
divisible by step the last step will be capped by slider.max.
A zero value will result in the smallest possible intervals/steps,
calculated from the (pixel) position of the slider.

:attr:`step` is a :class:`~kivy.properties.NumericProperty` and defaults
to 1.'''
to 0.'''

background_horizontal = StringProperty(
'atlas://data/images/defaulttheme/sliderh_background')
Expand Down