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

vertical slider #5

Open
J-Arji opened this issue Oct 25, 2017 · 3 comments
Open

vertical slider #5

J-Arji opened this issue Oct 25, 2017 · 3 comments

Comments

@J-Arji
Copy link

J-Arji commented Oct 25, 2017

hi
how can use rangeSlider as vertical?
thanks

@chicio
Copy link
Owner

chicio commented Oct 25, 2017

Hi @J-Arji
at the moment RangeUISlider doesn't support vertical orientation.
Anyway this could be a good idea for a new feature. I will work on it in the next weeks.

Thanks,
Fabrizio.

@J-Arji
Copy link
Author

J-Arji commented Oct 29, 2017

thank you

@ppbdrinker
Copy link

have you tried approaching this problem with a simple affine transform?

what happens if you simply add a 90° rotation to an instance of RangeUISlider? i remember it working fine for the generic UISlider

e.g. (translating to swift shouldn't be too hard)

UISlider *slider = [[UISlider alloc] init];
slider.transform = CGAffineTransformMakeRotation(-M_PI * .5f);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants