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: Adding allow_stretch to Slider in style.kv #6859

Merged
merged 1 commit into from
May 16, 2020

Conversation

AndiEcker
Copy link
Contributor

@AndiEcker AndiEcker commented May 4, 2020

The slider cursor image is currently ignoring the cursor size properties
(cursor_size, cursor_width and cursor_height) of the built-in Slider widget.

By adding allow_stretch: True and keep_ratio: False the slider cursor
image will be stretched/shrink to the size specified by the cursor
size properties of the Slider widget.

IOW: changing/setting the Slider properties cursor_size, cursor_width and cursor_height
have no effect on the displayed size of the cursor image.

So these properties would make only sense for to read/get the size of the used image and should therefore implemented and documented as read-only properties!

The slider cursor image is currently ignoring the cursor size properties
(cursor_size, cursor_width and cursor_height) of the built-in Slider widget.

By adding allow_stretch: True and keep_ratio: False the slider cursor
image will be stretched/shrinked to the size specified by the cursor
size properties of the Slider widget.
@tshirtman tshirtman merged commit 028376d into kivy:master May 16, 2020
@AndiEcker AndiEcker mentioned this pull request Oct 21, 2020
@matham matham added this to the 2.0.0 milestone Oct 28, 2020
@matham matham changed the title Adding allow_stretch to Slider in style.kv: Slider: Adding allow_stretch to Slider in style.kv Dec 9, 2020
@matham matham added the Component: Widgets kivy/uix, style.kv label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Widgets kivy/uix, style.kv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants