RangeUISlider icon indicating copy to clipboard operation
RangeUISlider copied to clipboard

vertical slider

Open J-Arji opened this issue 7 years ago • 3 comments

hi how can use rangeSlider as vertical? thanks

J-Arji avatar Oct 25 '17 08:10 J-Arji

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.

chicio avatar Oct 25 '17 19:10 chicio

thank you

J-Arji avatar Oct 29 '17 13:10 J-Arji

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);

ppbdrinker avatar Jul 19 '22 21:07 ppbdrinker