jonas-zebari / interactive_slider

A Cupertino-themed interactive continuous slider widget.
BSD 3-Clause "New" or "Revised" License
6 stars 7 forks source link

Vertical Slider & Icon position #1

Open jtkeyva opened 1 year ago

jtkeyva commented 1 year ago

This is really cool thanks, very similar to the iPhone volume & brightness UI as well

Can you have a vertical option? I've tried putting it in a Transform.rotate but it's not behaving properly. Also, then would need to rotate all widgets within and figure out how to place things above and below the bar. And then it looks like you ahve a horizontalDrag which would need to be verticalDrag.

Also, possible to have option to place the icons/text INSIDE of the slider? This would help with a clean minimalist UI

jonas-zebari commented 1 year ago

Thank you for the interest 👍 I'm currently working on fixing the fact that the size transition moves adjacent UI elements which is not desired behavior. After that I'll probably first implement alternate locations for the icons and then look into a vertical slider.

jtkeyva commented 1 year ago

very nice :) i look forward to seeing this mature into a solid slider

jonas-zebari commented 1 year ago

@jtkeyva I just upload version 0.1.0 that adds the ability to choose the icon location (inline and below for now. I'm working on figuring out how I would wanna do inside). Also fixes the size changing problem. I'll be working on the vertical slider next probably

jonas-zebari commented 1 year ago

@jtkeyva Added inside icon option! v0.1.1

jtkeyva commented 1 year ago

very nice! will give it a try and provide feedback soon :)

eduarcor commented 1 week ago

Looks soooo nice, I am so looking forward for a the vertical orientation of the slider. Any ETA?