vertical slider
« on: 30 December 2017, 04:09:33 »
First of all thank you for this library, It's awesome! I'm new to programming and I've been learning this library and the results are very good. There have been some great moments like using the unbound system and when I succeeded converting the 0.6 scrollable panel example to a 0.7 version and all this inside a class 8) lol.

Now I need to make vertical sliders. I tried slider->setVerticalScroll(true); but I guess it's no longer the way to do it? it must be with the renderer? If you could you show me a quick example of how to do it in 0.7 that would be great.



  • *****
  • 1343
    • View Profile
    • Texus's Blog
Re: vertical slider
« Reply #1 on: 30 December 2017, 09:41:24 »
I removed the setVerticalScroll function because it will now be automatically determined based on the size of the slider. So you just have to call setSize with a larger height than width and the slider will become a vertical one.

Re: vertical slider
« Reply #2 on: 30 December 2017, 16:34:49 »
Thank you !